Closed Bug 692208 Opened 10 years ago Closed 10 years ago

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

Categories

(Core :: JavaScript Engine, defect)

Other Branch
x86_64
Linux
defect
Not set
major

Tracking

()

RESOLVED FIXED

People

(Reporter: decoder, Unassigned)

References

Details

(Keywords: assertion, testcase)

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: 10 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.