Index: src/ia32/full-codegen-ia32.cc |
diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc |
index 3873c5592d69862ef71a15db095fbdfa115b4724..985cffc2b7d8bc110692a50190f7262954c57f95 100644 |
--- a/src/ia32/full-codegen-ia32.cc |
+++ b/src/ia32/full-codegen-ia32.cc |
@@ -1184,6 +1184,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. |