Index: src/full-codegen/x64/full-codegen-x64.cc |
diff --git a/src/full-codegen/x64/full-codegen-x64.cc b/src/full-codegen/x64/full-codegen-x64.cc |
index 68bb6498a1112deb49a9ff8a5eadd72b0914b334..d494ac92c73824e6b2abb4875d59d6733a4112d5 100644 |
--- a/src/full-codegen/x64/full-codegen-x64.cc |
+++ b/src/full-codegen/x64/full-codegen-x64.cc |
@@ -1077,6 +1077,7 @@ void FullCodeGenerator::VisitForInStatement(ForInStatement* stmt) { |
__ Push(rax); // Array |
__ movp(rax, FieldOperand(rax, FixedArray::kLengthOffset)); |
__ Push(rax); // Fixed array length (as smi). |
+ PrepareForBailoutForId(stmt->PrepareId(), NO_REGISTERS); |
__ Push(Smi::FromInt(0)); // Initial index. |
// Generate code for doing the condition check. |