Index: src/full-codegen/ia32/full-codegen-ia32.cc |
diff --git a/src/full-codegen/ia32/full-codegen-ia32.cc b/src/full-codegen/ia32/full-codegen-ia32.cc |
index 997a3539a2827903b01ab5f7c1aa56a95d21a0e0..757c672eb8d9a39e8e6d86c520ebf40f5742b8a2 100644 |
--- a/src/full-codegen/ia32/full-codegen-ia32.cc |
+++ b/src/full-codegen/ia32/full-codegen-ia32.cc |
@@ -1055,6 +1055,7 @@ void FullCodeGenerator::VisitForInStatement(ForInStatement* stmt) { |
__ push(eax); // Array |
__ mov(eax, FieldOperand(eax, FixedArray::kLengthOffset)); |
__ push(eax); // Fixed array length (as smi). |
+ PrepareForBailoutForId(stmt->PrepareId(), NO_REGISTERS); |
__ push(Immediate(Smi::FromInt(0))); // Initial index. |
// Generate code for doing the condition check. |