The default bug view has changed. See this FAQ.

TI: Assertion failure: !f.script()->failedBoundsCheck, at ./methodjit/StubCalls.cpp:2913

RESOLVED FIXED

Status

()

Core
JavaScript Engine
--
critical
RESOLVED FIXED
6 years ago
4 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

6 years ago
The following testcase asserts on TI revision d78eef12a329 (run with -m -n -a),
tested on 32 bit:

ForIn_2();
function ForIn_2( object ) {
  PropertyArray=new Array;
  var PropertyArray = 'Do not assert: !cx->throwing';
  for ( i in object ) PropertyArray.length-1;
}
We would try to generate loop invariant array lengths for scripts that previously had invariant failures (in this case, from trying to hoist the length of something that isn't actually an array).  If a script has checks fail when generating its loop invariants then future compilations shouldn't hoist any invariants at all (maybe over-aggressive).

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

Updated

6 years ago
Blocks: 676763
(Reporter)

Comment 2

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