Index: src/mips64/lithium-mips64.cc |
diff --git a/src/mips64/lithium-mips64.cc b/src/mips64/lithium-mips64.cc |
index 7495b747705ead03af4a292341718ab205cc7b0f..1f518d347eb7ffd65daf9b09309ac1a6aa93f999 100644 |
--- a/src/mips64/lithium-mips64.cc |
+++ b/src/mips64/lithium-mips64.cc |
@@ -2497,7 +2497,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(), a0)); |
+ LOperand* value = UseFixed(instr->value(), a3); |
+ LTypeof* result = new (zone()) LTypeof(context, value); |
return MarkAsCall(DefineFixed(result, v0), instr); |
} |