diff --git a/src/full-codegen/ppc/full-codegen-ppc.cc b/src/full-codegen/ppc/full-codegen-ppc.cc index 4d5cf92cb77f..de9a8f46cfb1 100644 --- a/src/full-codegen/ppc/full-codegen-ppc.cc +++ b/src/full-codegen/ppc/full-codegen-ppc.cc @@ -1117,6 +1117,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(r3); __ AddSmiLiteral(r3, r3, Smi::FromInt(1), r0); __ push(r3); diff --git a/src/full-codegen/s390/full-codegen-s390.cc b/src/full-codegen/s390/full-codegen-s390.cc index f9c4073a22c7..dfe652755a9c 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);