The default bug view has changed. See this FAQ.

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

RESOLVED FIXED

Status

()

Core
JavaScript Engine
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: jandem, Unassigned)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

6 years ago
--
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
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.