Index: src/arm/full-codegen-arm.cc |
=================================================================== |
--- src/arm/full-codegen-arm.cc (revision 4722) |
+++ src/arm/full-codegen-arm.cc (working copy) |
@@ -917,6 +917,7 @@ |
// Setup the four remaining stack slots. |
__ push(r0); // Map. |
__ ldr(r1, FieldMemOperand(r2, FixedArray::kLengthOffset)); |
+ __ mov(r1, Operand(r1, LSL, kSmiTagSize)); |
__ mov(r0, Operand(Smi::FromInt(0))); |
// Push enumeration cache, enumeration cache length (as smi) and zero. |
__ Push(r2, r1, r0); |
@@ -927,6 +928,7 @@ |
__ mov(r1, Operand(Smi::FromInt(0))); // Map (0) - force slow check. |
__ Push(r1, r0); |
__ ldr(r1, FieldMemOperand(r0, FixedArray::kLengthOffset)); |
+ __ mov(r1, Operand(r1, LSL, kSmiTagSize)); |
__ mov(r0, Operand(Smi::FromInt(0))); |
__ Push(r1, r0); // Fixed array length (as smi) and initial index. |