Index: src/full-codegen/arm/full-codegen-arm.cc |
diff --git a/src/full-codegen/arm/full-codegen-arm.cc b/src/full-codegen/arm/full-codegen-arm.cc |
index 96754ca420c2965afd8902cf1f5387fb5f9b75e6..b10b117f8209cc70f0c4d216cc678fdb4d1f064a 100644 |
--- a/src/full-codegen/arm/full-codegen-arm.cc |
+++ b/src/full-codegen/arm/full-codegen-arm.cc |
@@ -1131,6 +1131,7 @@ void FullCodeGenerator::VisitForInStatement(ForInStatement* stmt) { |
// Generate code for the 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); |
__ pop(r0); |
__ add(r0, r0, Operand(Smi::FromInt(1))); |
__ push(r0); |