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

RESOLVED FIXED

Status

()

Core
JavaScript Engine
--
major
RESOLVED FIXED
6 years ago
4 years ago

People

(Reporter: decoder, Unassigned)

Tracking

(Blocks: 1 bug, {assertion, testcase})

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

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

6 years ago
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
Last Resolved: 6 years ago
Resolution: --- → FIXED
(Reporter)

Comment 2

4 years ago
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.