TI: Assertion failure: consistent, at ./methodjit/Compiler.cpp:6040

RESOLVED FIXED

Status

()

Core
JavaScript Engine
--
critical
RESOLVED FIXED
7 years ago
6 years ago

People

(Reporter: decoder, Unassigned)

Tracking

(Blocks: 2 bugs, {assertion, testcase})

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

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

7 years ago
The following code asserts on TI tip (run with -m -n -a), tested on 64 bit:

function f0(i) {
  switch(i) {
  case "a":
  case { TITLE: false, VERSION: false }('test')
 : 
  }
}
new TestCase(SECTION, 'switch statement', f0("a"), "ab*");
RegisterAllocation::synced, used to determine whether we need rejoin code when jumping from after a stub call to a join point, did not account for registers from inline parents that need to be preserved at the join point.

http://hg.mozilla.org/projects/jaegermonkey/rev/d1599f5fc1fc
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
(Reporter)

Updated

7 years ago
Blocks: 676763
(Reporter)

Comment 2

6 years ago
A testcase for this bug was automatically identified at js/src/jit-test/tests/jaeger/bug646060.js.
Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.