Index: src/arm/lithium-arm.cc |
diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc |
index d513083c0f61d33180f9145fa18f5e9302eeede1..21c549f175fbbe83c5b1b7e81d2ddba2146f9a11 100644 |
--- a/src/arm/lithium-arm.cc |
+++ b/src/arm/lithium-arm.cc |
@@ -2294,9 +2294,7 @@ 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, scratch))); |
+ return AssignEnvironment(DefineAsRegister(new(zone()) LForInCacheArray(map))); |
} |