Index: src/arm/lithium-arm.cc |
diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc |
index 6268df3dfcf6ab3d006492456c9986d492fcfc90..728c4b8eb92aeaae75f45190de161de520195045 100644 |
--- a/src/arm/lithium-arm.cc |
+++ b/src/arm/lithium-arm.cc |
@@ -2541,7 +2541,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); |
} |