Index: src/full-codegen/x87/full-codegen-x87.cc |
diff --git a/src/full-codegen/x87/full-codegen-x87.cc b/src/full-codegen/x87/full-codegen-x87.cc |
index c5bcaa70f0aea3aee6c2130fa40c609a4251c47f..860e15b4eee0f63ad6d6fbd87b9b5c5cc5832162 100644 |
--- a/src/full-codegen/x87/full-codegen-x87.cc |
+++ b/src/full-codegen/x87/full-codegen-x87.cc |
@@ -1047,6 +1047,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. |