Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(763)

Unified Diff: src/interpreter/interpreter.cc

Issue 2187713004: [interpreter] Use ForInFilter stub. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/interpreter/interpreter.cc
diff --git a/src/interpreter/interpreter.cc b/src/interpreter/interpreter.cc
index b0be43e3096d6f6c67ba8bd6537094620814c9d2..6bbb2a949ed0bf34b10af136e2a84c71709a9877 100644
--- a/src/interpreter/interpreter.cc
+++ b/src/interpreter/interpreter.cc
@@ -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);
rmcilroy 2016/08/05 14:10:51 Any reason you didn't inline this TF stub into the
__ SetAccumulator(result);
__ Dispatch();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698