Last Comment Bug 657901 - TI+JM: [infer failure] Missing type in object Global f: #7
: TI+JM: [infer failure] Missing type in object Global f: #7
Status: RESOLVED FIXED
:
Product: Core
Classification: Components
Component: JavaScript Engine (show other bugs)
: unspecified
: All All
: -- normal (vote)
: ---
Assigned To: general
:
Mentors:
Depends on:
Blocks: infer-regress
  Show dependency treegraph
 
Reported: 2011-05-18 05:02 PDT by Jan de Mooij [:jandem] (PTO until July 31)
Modified: 2011-05-18 10:50 PDT (History)
3 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments

Description Jan de Mooij [:jandem] (PTO until July 31) 2011-05-18 05:02:29 PDT
--
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.
Comment 1 Brian Hackett (:bhackett) 2011-05-18 10:50:44 PDT
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

Note You need to log in before you can comment on or make changes to this bug.