Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index 2fce910cc049de37e8667aaf4a6ae2377ebb8bd3..6de2fc3f3b2cac1f3551eff01f4300d00a2d07ef 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -1218,6 +1218,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. |