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
Product: Core
Classification: Components
Component: JavaScript Engine (show other bugs)
: unspecified
: All All
-- normal (vote)
: ---
Assigned To: general
: Jason Orendorff [:jorendorff]
Depends on:
Blocks: infer-regress
  Show dependency treegraph
Reported: 2011-05-18 05:02 PDT by Jan de Mooij [:jandem]
Modified: 2011-05-18 10:50 PDT (History)
3 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Description User image Jan de Mooij [:jandem] 2011-05-18 05:02:29 PDT
function f() {};
function g(o) {
    f = new Function("");
$ ./js -a -n -m test.js
[infer failure] Missing type in object Global f: #7

Revision 5d1cbc94bc42, 32-bit OS X.
Comment 1 User image 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.

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