Last Comment Bug 674085 - TI+JM: Assertion failure: [infer failure] Missing type pushed 0: float, at jsinfer.cpp:331
: TI+JM: Assertion failure: [infer failure] Missing type pushed 0: float, at js...
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-07-25 15:25 PDT by Jan de Mooij [:jandem]
Modified: 2011-07-25 16:58 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] 2011-07-25 15:25:40 PDT
--
function f(x) {
    for (var i = 0; i < 50; i++) {};
    [1][arguments[0]]++;
    x = 1.2;
}
f(0);
--
$ ./js -n -m test.js
Missing type at #2:00039 pushed 0: float
Assertion failure: [infer failure] Missing type pushed 0: float, at jsinfer.cpp:331

Revision 62f32efb087c, 32-bit OS X.
Comment 1 Brian Hackett (:bhackett) 2011-07-25 16:58:06 PDT
Mark an unknown result when the value output of FetchElementId is not an integer, rather than the resulting id.  (Somehow thought that FetchElementId canonicalized doubles/string values representable as integers, should have tested).

http://hg.mozilla.org/projects/jaegermonkey/rev/c8e6ad4e09d1

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