Closed
Bug 608313
Opened 14 years ago
Closed 14 years ago
TM: AccSet assertion failure in typed arrays
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
People
(Reporter: dvander, Assigned: n.nethercote)
References
Details
(Whiteboard: fixed-in-tracemonkey)
Attachments
(2 files)
535 bytes,
application/javascript
|
Details | |
1.96 KB,
patch
|
dvander
:
review+
|
Details | Diff | Splinter Review |
I hit this while writing test cases for typed arrays in JM. Assertion failure: LIR AccSet error (start of writer pipeline): 'ldc2i' AccSet is '.tdata'; base = (ldi9 = ldi.tarray/c private3[24]); disp = 0: 0 (../nanojit/LIR.cpp:3193) Attached test fails with -m -j on tm-tip
Reporter | ||
Comment 1•14 years ago
|
||
Looks like it has something to do with using a constant index.
Assignee | ||
Comment 3•14 years ago
|
||
(In reply to comment #1) > Looks like it has something to do with using a constant index. Indeed it does.
Assignee | ||
Comment 4•14 years ago
|
||
Allow for constant indexes in typed arrays. Also, strengthen the checking slightly by insisting that the TARRAY base pointer is loaded using LOAD_CONST.
Reporter | ||
Updated•14 years ago
|
Attachment #487269 -
Flags: review?(dvander) → review+
Assignee | ||
Comment 5•14 years ago
|
||
http://hg.mozilla.org/tracemonkey/rev/2098bd53381e
Whiteboard: fixed-in-tracemonkey
Comment 6•14 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/2098bd53381e
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•