IM: Assertion failure: defaultCase_ == (uint32)-1, at ion/MIR.h:653

RESOLVED FIXED

Status

()

defect
--
major
RESOLVED FIXED
8 years ago
7 years ago

People

(Reporter: decoder, Unassigned)

Tracking

(Blocks 1 bug, {assertion, testcase})

Other Branch
x86_64
Linux
Points:
---
Dependency tree / graph
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

The following testcase asserts on ionmonkey revision acf3c1fb7c94 (run with --ion-eager), tested on 64 bit:


SwitchTest( 0, 126 );
function SwitchTest( input, expect ) {
  switch ( input ) {
  case (7):
  default:
    result += 32;
  case 4:
  }
}
Depends on: 682021
fixed by bug 682021, so pushed this test case
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
A testcase for this bug was automatically identified at js/src/jit-test/tests/ion/bug692208.js.
Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.