Closed
Bug 692213
Opened 14 years ago
Closed 14 years ago
IM: Assertion failure: Bad SSA value, at ../jsanalyze.h:1089
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: decoder, Assigned: dvander)
Details
(Keywords: assertion, testcase)
Attachments
(1 file)
1.44 KB,
patch
|
bhackett1024
:
review+
|
Details | Diff | Splinter Review |
The following testcase asserts on ionmonkey revision acf3c1fb7c94 (run with --ion -n), tested on 64 bit:
function X(n) {
while ('' + (n--)) {
switch ( X( "w", "w*abc" ) ) { default : }
}
}
(X)();
![]() |
Assignee | |
Comment 1•14 years ago
|
||
Comment 2•14 years ago
|
||
Comment on attachment 566393 [details] [diff] [review]
fix
This is fine so long as the binaryOp inputs are best guesses and will be type checked later during compilation (which as I recall is the case). Otherwise, due to coercion from a non-number value there could be a type mismatch between the input and output.
Attachment #566393 -
Flags: review?(bhackett1024) → review+
![]() |
Assignee | |
Comment 3•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 4•13 years ago
|
||
A testcase for this bug was automatically identified at js/src/jit-test/tests/ion/bug692213.js.
Flags: in-testsuite+
You need to log in
before you can comment on or make changes to this bug.
Description
•