Closed Bug 677080 Opened 13 years ago Closed 13 years ago

IonMonkey: Assertion failure: regs.pc == script->code, at jsinterp.cpp:2046

Categories

(Core :: JavaScript Engine, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: adrake, Assigned: dvander)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

Attached file Test case
With --ion --ion-gvn=off (and either register allocator), the attached test case trips this assert. Note that GVN isn't the cause, but it permutes the code in such a way that it trips bug 677066 and masks this one.
Attached patch fixSplinter Review
Basically a bogus assert.
Assignee: general → dvander
Status: NEW → ASSIGNED
Attachment #551374 - Flags: review?(sstangl)
Comment on attachment 551374 [details] [diff] [review]
fix

Review of attachment 551374 [details] [diff] [review]:
-----------------------------------------------------------------

For note, this patch is acceptable because bailouts may resume interpretation from a position other than the start of a function.
Attachment #551374 - Flags: review?(sstangl) → review+
http://hg.mozilla.org/projects/ionmonkey/rev/b2f20fb51b92
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.