Commit 31eefa43 authored by oth's avatar oth Committed by Commit bot

[interpreter] Use ForInFilter stub.

BUG=v8:4280
LOG=N

Review-Url: https://codereview.chromium.org/2187713004
Cr-Commit-Position: refs/heads/master@{#38100}
parent cc00ba2d
......@@ -2041,8 +2041,8 @@ void Interpreter::DoForInNext(InterpreterAssembler* assembler) {
// Need to filter the {key} for the {receiver}.
Node* context = __ GetContext();
Node* result =
__ CallRuntime(Runtime::kForInFilter, context, receiver, key);
Callable callable = CodeFactory::ForInFilter(assembler->isolate());
Node* result = __ CallStub(callable, context, key, receiver);
__ SetAccumulator(result);
__ Dispatch();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment