mirror of
https://github.com/dart-lang/sdk
synced 2024-09-19 14:32:49 +00:00
Fix implementation of StoreIndexedUnsafe instruction on ARM64.
Change-Id: I95780486bd092f297407fd96cc89f82eba6f2b84 Reviewed-on: https://dart-review.googlesource.com/33420 Reviewed-by: Vyacheslav Egorov <vegorov@google.com> Commit-Queue: Samir Jindel <sjindel@google.com>
This commit is contained in:
parent
966168ba67
commit
b264dc6fc3
|
@ -50,7 +50,7 @@ DEFINE_BACKEND(StoreIndexedUnsafe,
|
|||
ASSERT(instr->RequiredInputRepresentation(
|
||||
StoreIndexedUnsafeInstr::kIndexPos) == kTagged); // It is a Smi.
|
||||
__ add(TMP, instr->base_reg(), Operand(index, LSL, 2));
|
||||
__ ldr(value, Address(TMP, instr->offset()));
|
||||
__ str(value, Address(TMP, instr->offset()));
|
||||
|
||||
ASSERT(kSmiTag == 0);
|
||||
ASSERT(kSmiTagSize == 1);
|
||||
|
|
Loading…
Reference in a new issue