Closed
Bug 836774
Opened 12 years ago
Closed 12 years ago
IonMonkey: Assertion failure: !"unexpected type", at ion/Lowering.cpp:1224
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla21
People
(Reporter: decoder, Assigned: bhackett1024)
References
Details
(Keywords: assertion, regression, testcase, Whiteboard: [jsbugmon:update])
Attachments
(1 file)
3.16 KB,
patch
|
jandem
:
review+
|
Details | Diff | Splinter Review |
The following testcase asserts on mozilla-central revision 20bbf73921f4 (run with --ion-eager):
x = ''.charCodeAt(NaN);
evaluate("for each (var e in [{}, {}, {}, {}, x]) {}");
Reporter | ||
Updated•12 years ago
|
Whiteboard: [jsbugmon:update,bisect]
Reporter | ||
Updated•12 years ago
|
Whiteboard: [jsbugmon:update,bisect] → [jsbugmon:update]
Reporter | ||
Comment 1•12 years ago
|
||
JSBugMon: Bisection requested, result:
autoBisect shows this is probably related to the following changeset:
The first bad revision is:
changeset: 120310:d7dd65663469
user: Brian Hackett
date: Tue Jan 29 16:20:03 2013 -0700
summary: Bug 833898 - Allow converting mixed arrays of ints and doubles to uniform doubles, r=jandem.
This iteration took 0.524 seconds to run.
Comment 2•12 years ago
|
||
Brian, do you think bug 833898 is a likely regressor?
Assignee | ||
Comment 3•12 years ago
|
||
MToDouble isn't robust enough to cope with object or string inputs. This patch boxes them into arbitrary values, which are handled by ToDouble.
Assignee: general → bhackett1024
Attachment #708687 -
Flags: review?(jdemooij)
Flags: needinfo?(bhackett1024)
Comment 4•12 years ago
|
||
Comment on attachment 708687 [details] [diff] [review]
patch
Review of attachment 708687 [details] [diff] [review]:
-----------------------------------------------------------------
Type analysis may insert ToDouble instructions as well, not sure if it calls adjustInputs on them. Here you insert MToDouble during IonBuilder so this is fine.
Can you grep for "JS_ASSERT(!" in Lowering.cpp and change these to JS_NOT_REACHED? r=me with that.
Attachment #708687 -
Flags: review?(jdemooij) → review+
Assignee | ||
Comment 5•12 years ago
|
||
Comment 6•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
You need to log in
before you can comment on or make changes to this bug.
Description
•