Closed
Bug 396326
Opened 17 years ago
Closed 17 years ago
Assertion failure trying to disassemble get(var|arg)prop
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
VERIFIED
FIXED
People
(Reporter: Seno.Aiko, Unassigned)
References
Details
(Keywords: assertion, regression, testcase)
Attachments
(1 file)
938 bytes,
patch
|
mrbkap
:
review+
brendan
:
approval1.9+
|
Details | Diff | Splinter Review |
Debug shell-only problem:
Trying to disassemble a function containing var.prop or arg.prop results in assertion failure: (script)->objectsOffset != 0, at jsopcode.c:356. getlocalprop doesn't assert but the output is incorrect; getthisprop works.
Testcases:
function f1() { var v; return v.prop } ; dis(f1)
function f2(arg) { return arg.prop } ; dis(f2)
function f3() { return this.prop } ; dis(f3)
function f4() { let local; return local.prop } ; dis(f4)
Attachment #281065 -
Flags: review?(mrbkap)
Comment 1•17 years ago
|
||
Comment on attachment 281065 [details] [diff] [review]
fix wrong JOF_ type check
Good catch!
Attachment #281065 -
Flags: review?(mrbkap) → review+
Comment 2•17 years ago
|
||
I'll approve. Igor or Blake will have to check in.
/be
Updated•17 years ago
|
Attachment #281065 -
Flags: approval1.9+
Comment 3•17 years ago
|
||
I checked in the patch from comment 0 to the trunk:
Checking in jsopcode.c;
/cvsroot/mozilla/js/src/jsopcode.c,v <-- jsopcode.c
new revision: 3.265; previous revision: 3.264
done
Indeed thanks for catching this!
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Comment 4•17 years ago
|
||
Note that Bug 387994 is still reproducible.
Blocks: 385729
Keywords: regression,
testcase
Comment 5•17 years ago
|
||
/cvsroot/mozilla/js/tests/js1_5/extensions/regress-396326.js,v <-- initial revision: 1.1
/cvsroot/mozilla/js/tests/js1_7/extensions/regress-396326.js,v <-- initial revision: 1.1
Flags: in-testsuite+
You need to log in
before you can comment on or make changes to this bug.
Description
•