Index: src/arm/lithium-arm.cc |
diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc |
index 7d600db9386e0dd97a99ad28fe37493a82c5955f..ccd962c23fed85b23dfde531df7a2009a1e19dbf 100644 |
--- a/src/arm/lithium-arm.cc |
+++ b/src/arm/lithium-arm.cc |
@@ -2550,7 +2550,8 @@ LInstruction* LChunkBuilder::DoToFastProperties(HToFastProperties* instr) { |
LInstruction* LChunkBuilder::DoTypeof(HTypeof* instr) { |
LOperand* context = UseFixed(instr->context(), cp); |
- LTypeof* result = new(zone()) LTypeof(context, UseFixed(instr->value(), r0)); |
+ LOperand* value = UseFixed(instr->value(), r3); |
+ LTypeof* result = new (zone()) LTypeof(context, value); |
return MarkAsCall(DefineFixed(result, r0), instr); |
} |