Index: src/arm/macro-assembler-arm.cc |
diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc |
index e625606663f2f11b19a3d1e4b8f6fdc9186e5f19..6e0b4a7040ae080faa5e91b814338956924ddca0 100644 |
--- a/src/arm/macro-assembler-arm.cc |
+++ b/src/arm/macro-assembler-arm.cc |
@@ -1939,7 +1939,7 @@ void MacroAssembler::AllocateAsciiConsString(Register result, |
ExternalReference high_promotion_mode = ExternalReference:: |
new_space_high_promotion_mode_active_address(isolate()); |
mov(scratch1, Operand(high_promotion_mode)); |
- ldr(scratch1, MemOperand(r4, 0)); |
+ ldr(scratch1, MemOperand(scratch1, 0)); |
cmp(scratch1, Operand::Zero()); |
b(eq, &allocate_new_space); |