Index: src/mips/lithium-mips.cc |
diff --git a/src/mips/lithium-mips.cc b/src/mips/lithium-mips.cc |
index 9426c2cac9f1cb40212d6071f57aad2cd04b9504..da5beb6186191ea70f99b2c1c1cc9821815a16e7 100644 |
--- a/src/mips/lithium-mips.cc |
+++ b/src/mips/lithium-mips.cc |
@@ -2200,8 +2200,9 @@ LInstruction* LChunkBuilder::DoForInPrepareMap(HForInPrepareMap* instr) { |
LInstruction* LChunkBuilder::DoForInCacheArray(HForInCacheArray* instr) { |
LOperand* map = UseRegister(instr->map()); |
+ LOperand* scratch = TempRegister(); |
return AssignEnvironment(DefineAsRegister( |
- new(zone()) LForInCacheArray(map))); |
+ new(zone()) LForInCacheArray(map, scratch))); |
} |