Index: src/ia32/full-codegen-ia32.cc |
=================================================================== |
--- src/ia32/full-codegen-ia32.cc (revision 4722) |
+++ src/ia32/full-codegen-ia32.cc (working copy) |
@@ -1009,6 +1009,7 @@ |
__ push(eax); // Map. |
__ push(edx); // Enumeration cache. |
__ mov(eax, FieldOperand(edx, FixedArray::kLengthOffset)); |
+ __ SmiTag(eax); |
__ push(eax); // Enumeration cache length (as smi). |
__ push(Immediate(Smi::FromInt(0))); // Initial index. |
__ jmp(&loop); |
@@ -1018,6 +1019,7 @@ |
__ push(Immediate(Smi::FromInt(0))); // Map (0) - force slow check. |
__ push(eax); |
__ mov(eax, FieldOperand(eax, FixedArray::kLengthOffset)); |
+ __ SmiTag(eax); |
__ push(eax); // Fixed array length (as smi). |
__ push(Immediate(Smi::FromInt(0))); // Initial index. |