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 8c930a793bbd61823c2002a2778f356f87d8b9a1..737994b946230649b061c391a0186302013294d6 100644 |
--- a/src/full-codegen/ia32/full-codegen-ia32.cc |
+++ b/src/full-codegen/ia32/full-codegen-ia32.cc |
@@ -1060,6 +1060,7 @@ void FullCodeGenerator::VisitForInStatement(ForInStatement* stmt) { |
// Generate code for going to the next element by incrementing the |
// index (smi) stored on top of the stack. |
__ bind(loop_statement.continue_label()); |
+ PrepareForBailoutForId(stmt->IncrementId(), BailoutState::NO_REGISTERS); |
__ add(Operand(esp, 0 * kPointerSize), Immediate(Smi::FromInt(1))); |
EmitBackEdgeBookkeeping(stmt, &loop); |