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:
Samir Jindel 2018-01-09 14:27:34 +01:00 committed by commit-bot@chromium.org
parent 966168ba67
commit b264dc6fc3

View file

@ -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);