Closed Bug 656914 Opened 9 years ago Closed 9 years ago

TI: Assertion failure: codeArray[offset], at ./jsanalyze.h:902

Categories

(Core :: JavaScript Engine, defect)

x86_64
Linux
defect
Not set
critical

Tracking

()

RESOLVED FIXED

People

(Reporter: decoder, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: assertion, testcase)

The following testcase asserts on TI revision 8fbd8f861465 (run with -m -n -a),
tested on 64 bit:

try {
  new MyObject;
} catch (e) {}

function MyObject() {
  return;
  return this;
}
Oops, regression from the 'new' robustness improvements/overhaul.  Had a TODO for this but forgot to actually do it, we weren't handling premature returns within the script nor uses of 'this' in conditional code.  Push below has a couple extra testcases.

http://hg.mozilla.org/projects/jaegermonkey/rev/b38e4d16be97
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
A testcase for this bug was automatically identified at js/src/jit-test/tests/jaeger/bug656914.js.
Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.