Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index d5b67a7a1ba65078c8eec836adc8967404dd6f05..46fa908b7da2b93e1874c47ce62346e81ad1b5a5 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -5621,7 +5621,6 @@ void LCodeGen::DoForInPrepareMap(LForInPrepareMap* instr) { |
void LCodeGen::DoForInCacheArray(LForInCacheArray* instr) { |
Register map = ToRegister(instr->map()); |
Register result = ToRegister(instr->result()); |
- Register scratch = ToRegister(instr->scratch()); |
Label load_cache, done; |
__ EnumLength(result, map); |
__ cmp(result, Operand(Smi::FromInt(0))); |
@@ -5630,7 +5629,7 @@ void LCodeGen::DoForInCacheArray(LForInCacheArray* instr) { |
__ jmp(&done); |
__ bind(&load_cache); |
- __ LoadInstanceDescriptors(map, result, scratch); |
+ __ LoadInstanceDescriptors(map, result); |
__ ldr(result, |
FieldMemOperand(result, DescriptorArray::kEnumCacheOffset)); |
__ ldr(result, |