| Index: src/x64/full-codegen-x64.cc
|
| diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc
|
| index 22bc23c97bb5cf6ec093c6fb66588f2ebd7e8ae7..947de32072f0e0a1a9bb6d620746184fc91b16c6 100644
|
| --- a/src/x64/full-codegen-x64.cc
|
| +++ b/src/x64/full-codegen-x64.cc
|
| @@ -1231,9 +1231,9 @@ void FullCodeGenerator::VisitForInStatement(ForInStatement* stmt) {
|
| // just skip it.
|
| __ Push(rcx); // Enumerable.
|
| __ Push(rbx); // Current entry.
|
| - __ InvokeBuiltin(Builtins::FILTER_KEY, CALL_FUNCTION);
|
| + __ CallRuntime(Runtime::kForInFilter, 2);
|
| PrepareForBailoutForId(stmt->FilterId(), TOS_REG);
|
| - __ Cmp(rax, Smi::FromInt(0));
|
| + __ CompareRoot(rax, Heap::kUndefinedValueRootIndex);
|
| __ j(equal, loop_statement.continue_label());
|
| __ movp(rbx, rax);
|
|
|
|
|