Closed Bug 657901 Opened 9 years ago Closed 9 years ago

TI+JM: [infer failure] Missing type in object Global f: #7

Categories

(Core :: JavaScript Engine, defect)

defect
Not set

Tracking

()

RESOLVED FIXED

People

(Reporter: jandem, Unassigned)

References

(Blocks 1 open bug)

Details

--
function f() {};
function g(o) {
    f = new Function("");
    eval("");
}
g({});
g({});
f++;
--
$ ./js -a -n -m test.js
[infer failure] Missing type in object Global f: #7

Revision 5d1cbc94bc42, 32-bit OS X.
In one of the stub calls we didn't go through a type barrier after a property cache hit.  This adds nativeSetSlotWithType for cases where we have the shape and associated slot but need to go through a barrier before updating the object (analogous to setDenseArrayElementWithType).  Went through other nativeSetSlot calls and there were a couple other places missing barriers.

http://hg.mozilla.org/projects/jaegermonkey/rev/29bd8523ead9
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.