Index: src/mips/full-codegen-mips.cc |
diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc |
index 2aebbba1d338b007562a4ffee9026feaaa88f74b..3b054c6a1b32d7e8a3d6957bc85764d8a8306fb0 100644 |
--- a/src/mips/full-codegen-mips.cc |
+++ b/src/mips/full-codegen-mips.cc |
@@ -1247,6 +1247,7 @@ void FullCodeGenerator::VisitForInStatement(ForInStatement* stmt) { |
// Perform the assignment as if via '='. |
{ EffectContext context(this); |
EmitAssignment(stmt->each()); |
+ PrepareForBailoutForId(stmt->AssignmentId(), NO_REGISTERS); |
} |
// Generate code for the body of the loop. |