Closed
Bug 931414
Opened 11 years ago
Closed 11 years ago
Assertion failure: pcdepth >= nuses, at js/src/jsopcode.cpp:1682
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla28
People
(Reporter: anba, Assigned: wingo)
References
Details
Attachments
(1 file)
703 bytes,
patch
|
jandem
:
review+
|
Details | Diff | Splinter Review |
test case:
---
function iterable() {
var iterable = {};
var iteratorSym = [...Proxy({}, {get: (_, pk) => [][pk].bind([pk])})][0];
iterable[iteratorSym] = () => ({next: () => void 0});
return iterable;
}
(function*(){yield*iterable()}()).next();
---
Assertion failure: pcdepth >= nuses, at /home/svdi/git/mozilla-central/js/src/jsopcode.cpp:1682
Assignee | ||
Comment 2•11 years ago
|
||
It's not the most direct path to a solution, but bug 932180 fixes this issue by rewriting the decompiler's bytecode parser.
Assignee | ||
Comment 3•11 years ago
|
||
Assignee | ||
Comment 4•11 years ago
|
||
Comment on attachment 830122 [details] [diff] [review]
Add test case
Fixed by bug 932180, already landed; this patch just adds a test case.
Attachment #830122 -
Flags: review?(jdemooij)
Updated•11 years ago
|
Attachment #830122 -
Flags: review?(jdemooij) → review+
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 5•11 years ago
|
||
Flags: in-testsuite+
Keywords: checkin-needed
Comment 6•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
You need to log in
before you can comment on or make changes to this bug.
Description
•