Index: src/full-codegen/s390/full-codegen-s390.cc |
diff --git a/src/full-codegen/s390/full-codegen-s390.cc b/src/full-codegen/s390/full-codegen-s390.cc |
index f9c4073a22c793c782cc14d12f90410cb1c6e0cb..dfe652755a9cb759c877c3468d428e07b97f8286 100644 |
--- a/src/full-codegen/s390/full-codegen-s390.cc |
+++ b/src/full-codegen/s390/full-codegen-s390.cc |
@@ -1086,6 +1086,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(r2); |
__ AddSmiLiteral(r2, r2, Smi::FromInt(1), r0); |
__ push(r2); |