Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index 1ac509c5eda7e96440fe2570feeea84e709f7083..585b6587cfab7134b1bfefacd71076e8d3fae632 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -2410,6 +2410,7 @@ void LCodeGen::DoLoadElements(LLoadElements* instr) { |
__ b(eq, &done); |
__ LoadRoot(ip, Heap::kFixedCOWArrayMapRootIndex); |
__ cmp(scratch, ip); |
+ __ b(eq, &done); |
__ ldr(scratch, FieldMemOperand(result, HeapObject::kMapOffset)); |
__ ldrb(scratch, FieldMemOperand(scratch, Map::kInstanceTypeOffset)); |
__ sub(scratch, scratch, Operand(FIRST_EXTERNAL_ARRAY_TYPE)); |