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

Unified Diff: src/code-factory.cc

Issue 2890023004: [turbofan] Avoid allocating rest parameters for spread calls. (Closed)
Patch Set: Created 3 years, 7 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 | « src/code-factory.h ('k') | src/compiler/js-call-reducer.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 b6563ddf50a8818028f1878ea158d034d00042fe..8d3961858a11963d0eb0358a1c40d6f7733d3c2d 100644
--- a/src/code-factory.cc
+++ b/src/code-factory.cc
@@ -458,6 +458,18 @@ Callable CodeFactory::ConstructFunction(Isolate* isolate) {
}
// static
+Callable CodeFactory::ConstructForwardVarargs(Isolate* isolate) {
+ return Callable(isolate->builtins()->ConstructForwardVarargs(),
+ ConstructForwardVarargsDescriptor(isolate));
+}
+
+// static
+Callable CodeFactory::ConstructFunctionForwardVarargs(Isolate* isolate) {
+ return Callable(isolate->builtins()->ConstructFunctionForwardVarargs(),
+ ConstructForwardVarargsDescriptor(isolate));
+}
+
+// static
Callable CodeFactory::InterpreterPushArgsThenCall(
Isolate* isolate, ConvertReceiverMode receiver_mode,
TailCallMode tail_call_mode, InterpreterPushArgsMode mode) {
« no previous file with comments | « src/code-factory.h ('k') | src/compiler/js-call-reducer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698