Closed Bug 651155 Opened 14 years ago Closed 14 years ago

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

Categories

(Core :: JavaScript Engine, defect)

x86_64
Linux
defect
Not set
critical

Tracking

()

RESOLVED FIXED

People

(Reporter: decoder, Unassigned)

References

Details

(Keywords: assertion, testcase)

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
Closed: 14 years ago
Resolution: --- → FIXED
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.