TM: Assertion failed: "need a way to EOT now, since this is trace end" with switch(0/0)

RESOLVED FIXED

Status

()

Core
JavaScript Engine
--
critical
RESOLVED FIXED
10 years ago
10 years ago

People

(Reporter: Jesse Ruderman, Assigned: gal)

Tracking

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

Trunk
x86
Mac OS X
assertion, testcase
Points:
---
Bug Flags:
in-testsuite +
in-litmus -

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

10 years ago
$ ~/tracemonkey/js/src/Darwin_DBG.OBJ/js -j
js> for (var j = 0; j < 4; ++j) { switch(0/0) { } }

Assertion failed: "need a way to EOT now, since this is trace end": 0 (nanojit/LIR.cpp:866)
(Assignee)

Comment 1

10 years ago
Created attachment 339890 [details] [diff] [review]
Don't emit constant guards for switch and ifop.
Assignee: general → gal
Attachment #339890 - Flags: review?(danderson)
Attachment #339890 - Flags: review?(danderson) → review+
(Assignee)

Comment 2

10 years ago
http://hg.mozilla.org/tracemonkey/rev/385c9e591c97
Status: NEW → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED
/cvsroot/mozilla/js/tests/js1_5/Regress/regress-455605.js,v  <--  regress-455605.js
initial revision: 1.1

http://hg.mozilla.org/mozilla-central/rev/b04c04268a94
Flags: in-testsuite+
Flags: in-litmus-
You need to log in before you can comment on or make changes to this bug.