Closed
Bug 725061
Opened 12 years ago
Closed 12 years ago
IonMonkey: Assertion failure: opd->type() == phi->type(), at ion/Lowering.cpp:1302
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: decoder, Assigned: dvander)
References
Details
(Keywords: assertion, testcase)
Attachments
(1 file)
2.10 KB,
patch
|
jandem
:
review+
|
Details | Diff | Splinter Review |
The following testcase asserts on ionmonkey revision c34398f961e7 (run with --ion -n -m), tested on 64 bit: function testInt(n, result) { var x = 0; for (var i = 0; i < 15; i++) { if (x % 2 == 0) x = 10; else x %= 0; } for (var i = 0; i < 15; i++) { } } testInt(2147483647, 2147483647); testInt(-2147483648, -2147483648);
Assignee | ||
Comment 1•12 years ago
|
||
Don't fold MMod when doing so could change its result type.
Updated•12 years ago
|
Attachment #595608 -
Flags: review?(jdemooij) → review+
Assignee | ||
Comment 2•12 years ago
|
||
http://hg.mozilla.org/projects/ionmonkey/rev/fa22733dd172
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 3•11 years ago
|
||
A testcase for this bug was automatically identified at js/src/jit-test/tests/ion/bug725061.js.
Flags: in-testsuite+
You need to log in
before you can comment on or make changes to this bug.
Description
•