Index: src/arm/macro-assembler-arm.cc |
diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc |
index 7c49e9e58ae7689c9b9b16e52e537072f1981476..933399e00f43bd62c65993cb1b820d0035aa2cc7 100644 |
--- a/src/arm/macro-assembler-arm.cc |
+++ b/src/arm/macro-assembler-arm.cc |
@@ -2878,7 +2878,8 @@ void MacroAssembler::LoadTransitionedArrayMapConditional( |
Context::SlotOffset(Context::JS_ARRAY_MAPS_INDEX))); |
size_t offset = expected_kind * kPointerSize + |
FixedArrayBase::kHeaderSize; |
- cmp(map_in_out, scratch); |
+ ldr(ip, FieldMemOperand(scratch, offset)); |
+ cmp(map_in_out, ip); |
b(ne, no_map_match); |
// Use the transitioned cached map. |