Index: src/arm/lithium-arm.cc |
diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc |
index 283862c78762ca48a7fe68bd6dd6f9fa76b9900b..7146378360cdedcfa4949eadeaa7ec559bbe32b2 100644 |
--- a/src/arm/lithium-arm.cc |
+++ b/src/arm/lithium-arm.cc |
@@ -2381,8 +2381,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))); |
} |