Closed
Bug 986717
Opened 11 years ago
Closed 11 years ago
Fix typo in SnapshotIterator::allocationReadable
Categories
(Core :: JavaScript Engine: JIT, defect)
Core
JavaScript Engine: JIT
Tracking
()
RESOLVED
FIXED
mozilla31
People
(Reporter: shu, Assigned: shu)
References
Details
Attachments
(2 files)
(deleted),
patch
|
shu
:
review+
|
Details | Diff | Splinter Review |
(deleted),
text/plain
|
Details |
Fix typo when decoding RValues from Snapshots
Assignee | ||
Comment 1•11 years ago
|
||
TYPE_REG layout has the known type in arg1 and the GPR in arg2.
Assignee | ||
Comment 2•11 years ago
|
||
Comment on attachment 8395079 [details] [diff] [review]
Fix typo in SnapshotIterator::allocationReadable
Review of attachment 8395079 [details] [diff] [review]:
-----------------------------------------------------------------
r=h4writer over IRC
Attachment #8395079 -
Flags: review+
Assignee | ||
Comment 3•11 years ago
|
||
Comment 4•11 years ago
|
||
I found a testcase that seems fixed by this:
$ ./js-dbg-64-ts-darwin-573ef29c7a9f --ion-parallel-compile=off --ion-eager testcase.js
function f() {
arguments.callee.caller.arguments
yield
}
function g(a) {
try {
for (x in f()) {}
} catch (e) {}
}
g('')
Assertion failure: layoutFromMode(mode()).type1 == PAYLOAD_GPR, at jit/Snapshots.h
and it was caused by:
autoBisect shows this is probably related to the following changeset:
The first bad revision is:
changeset: http://hg.mozilla.org/mozilla-central/rev/a88353443251
user: Nicolas B. Pierron
date: Tue Mar 18 08:31:24 2014 -0700
summary: Bug 962555 part 6 - IonMonkey: Simplify encoding & decoding of RValueAllocations. r=h4writer
Was this patch intended to fix the issue? (and perhaps the testcase can be landed?)
Flags: needinfo?(shu)
Comment 5•11 years ago
|
||
Assignee | ||
Comment 6•11 years ago
|
||
Yeah, looks like the same bug. Feel free to land that.
Flags: needinfo?(shu)
Comment 7•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
Updated•11 years ago
|
Flags: in-testsuite?
You need to log in
before you can comment on or make changes to this bug.
Description
•