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 94d8a5aad902001bf4d246a0ebcdafeab6654bd0..dcf6e937a064c3d0eea9fdd9a857c5df65a81642 100644 |
--- a/src/full-codegen/x87/full-codegen-x87.cc |
+++ b/src/full-codegen/x87/full-codegen-x87.cc |
@@ -1052,6 +1052,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); |