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

Unified Diff: src/code-factory.cc

Issue 1410343016: [turbofan] Introduce a Function type and optimize based on it. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Undo unrelated change. Created 5 years, 1 month 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 | « src/code-factory.h ('k') | src/compiler/js-typed-lowering.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/code-factory.cc
diff --git a/src/code-factory.cc b/src/code-factory.cc
index e168b9d20cbe082d21fa482239c8a6d7da752dee..44fa32b394bbcea518f72c0157856fbd4240999d 100644
--- a/src/code-factory.cc
+++ b/src/code-factory.cc
@@ -299,6 +299,13 @@ Callable CodeFactory::Call(Isolate* isolate) {
// static
+Callable CodeFactory::CallFunction(Isolate* isolate) {
+ return Callable(isolate->builtins()->CallFunction(),
+ CallTrampolineDescriptor(isolate));
+}
+
+
+// static
Callable CodeFactory::InterpreterPushArgsAndCall(Isolate* isolate) {
return Callable(isolate->builtins()->InterpreterPushArgsAndCall(),
InterpreterPushArgsAndCallDescriptor(isolate));
« no previous file with comments | « src/code-factory.h ('k') | src/compiler/js-typed-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698