Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index 9c7a41f44906a2e4c326d9b52d40f9fbc496899d..90d309504218bffd333366d1a2c03752c71bfb58 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -1244,6 +1244,7 @@ void FullCodeGenerator::VisitForInStatement(ForInStatement* stmt) { |
__ Push(rcx); // Enumerable. |
__ Push(rbx); // Current entry. |
__ InvokeBuiltin(Builtins::FILTER_KEY, CALL_FUNCTION); |
+ PrepareForBailoutForId(stmt->FilterId(), TOS_REG); |
__ Cmp(rax, Smi::FromInt(0)); |
__ j(equal, loop_statement.continue_label()); |
__ movp(rbx, rax); |