| Index: src/arm64/full-codegen-arm64.cc
|
| diff --git a/src/arm64/full-codegen-arm64.cc b/src/arm64/full-codegen-arm64.cc
|
| index 9441cb7de8247e2eff8e1ff1a14ea43f513c2f64..0e6391f8eb3f53439915cd53a89fe6dd3ed2cd1c 100644
|
| --- a/src/arm64/full-codegen-arm64.cc
|
| +++ b/src/arm64/full-codegen-arm64.cc
|
| @@ -1254,10 +1254,11 @@ void FullCodeGenerator::VisitForInStatement(ForInStatement* stmt) {
|
| // any more. If the property has been removed while iterating, we
|
| // just skip it.
|
| __ Push(x1, x3);
|
| - __ InvokeBuiltin(Builtins::FILTER_KEY, CALL_FUNCTION);
|
| + __ CallRuntime(Runtime::kForInFilter, 2);
|
| PrepareForBailoutForId(stmt->FilterId(), TOS_REG);
|
| __ Mov(x3, x0);
|
| - __ Cbz(x0, loop_statement.continue_label());
|
| + __ JumpIfRoot(x0, Heap::kUndefinedValueRootIndex,
|
| + loop_statement.continue_label());
|
|
|
| // Update the 'each' property or variable from the possibly filtered
|
| // entry in register x3.
|
|
|