Index: src/mips/lithium-mips.cc |
diff --git a/src/mips/lithium-mips.cc b/src/mips/lithium-mips.cc |
index 578db3b3184559d448e758036483bb086b88bec0..824ddf1894b04afcd5ecfdb175c05e5e08506a05 100644 |
--- a/src/mips/lithium-mips.cc |
+++ b/src/mips/lithium-mips.cc |
@@ -2488,7 +2488,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); |
} |