Created attachment 486951 [details] test case 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); disp = 0: 0 (../nanojit/LIR.cpp:3193) Attached test fails with -m -j on tm-tip
Looks like it has something to do with using a constant index.
(In reply to comment #1) > Looks like it has something to do with using a constant index. Indeed it does.
Created attachment 487269 [details] [diff] [review] patch (against TM 56610:7af31ff1e9f5) Allow for constant indexes in typed arrays. Also, strengthen the checking slightly by insisting that the TARRAY base pointer is loaded using LOAD_CONST.
Assignee: general → nnethercote
Status: NEW → ASSIGNED
Attachment #487269 - Flags: review?(dvander)
7 years ago
Attachment #487269 - Flags: review?(dvander) → review+
Status: ASSIGNED → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.