Closed
Bug 584423
Opened 14 years ago
Closed 14 years ago
"Assertion failure: *pc == JSOP_GETARG,"
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
blocking2.0 | --- | betaN+ |
People
(Reporter: gkw, Assigned: luke)
References
Details
(Keywords: assertion, regression, testcase, Whiteboard: fixed-in-tracemonkey)
Attachments
(1 file)
1.56 KB,
patch
|
brendan
:
review+
|
Details | Diff | Splinter Review |
uneval(Function("function r([],x){this.b=function(){x}}")) asserts js debug shell on TM tip without -j at Assertion failure: *pc == JSOP_GETARG, at ../jsopcode.cpp:4990 autoBisect shows this is probably related to the following changeset: The first bad revision is: changeset: 37037:36bbd730e24f user: Brendan Eich date: Thu Jan 14 09:33:14 2010 -0800 summary: Analyze module pattern and private-statics pattern in order to despecialize from methods to slots/sprops (536564, r=jorendorff).
Reporter | ||
Updated•14 years ago
|
blocking2.0: --- → ?
Updated•14 years ago
|
blocking2.0: ? → betaN+
Assignee | ||
Updated•14 years ago
|
Assignee: general → lw
Comment 1•14 years ago
|
||
The value of *pc is JSOP_UNBRANDTHIS instead of the expected JSOP_GETARG.
Comment 2•14 years ago
|
||
still asserts
Assignee | ||
Comment 3•14 years ago
|
||
Explanation in comment.
Attachment #498151 -
Flags: review?(brendan)
Comment 4•14 years ago
|
||
Comment on attachment 498151 [details] [diff] [review] fix >+ * The decompiler has assumptions about what may occur immediately after >+ * script->main (e.g., in the case of destructured args). Thus, put the >+ * following ops into the range [script->code, script->main). Note: >+ * execution starts from script->code, so this has no semantic effect. ..12345678901234567890123456789012345678901234567890123456789012345678901234567890 Nit: "destructuring params" is better and won't rewrap, so use that. Thanks, /be
Attachment #498151 -
Flags: review?(brendan) → review+
Assignee | ||
Comment 5•14 years ago
|
||
http://hg.mozilla.org/tracemonkey/rev/6d23e573cd87
Whiteboard: fixed-in-tracemonkey
Comment 6•14 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/6d23e573cd87
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 7•11 years ago
|
||
Automatically extracted testcase for this bug was committed: https://hg.mozilla.org/mozilla-central/rev/efaf8960a929
Flags: in-testsuite+
You need to log in
before you can comment on or make changes to this bug.
Description
•