Index: src/code-factory.cc |
diff --git a/src/code-factory.cc b/src/code-factory.cc |
index 44d971f37b10179dee5d210cd24599210b729420..6888bf8006b34645070a6967f0df5e086d5cf15a 100644 |
--- a/src/code-factory.cc |
+++ b/src/code-factory.cc |
@@ -409,6 +409,12 @@ Callable CodeFactory::CallFunction(Isolate* isolate, ConvertReceiverMode mode, |
CallTrampolineDescriptor(isolate)); |
} |
+// static |
+Callable CodeFactory::CallVarargs(Isolate* isolate) { |
+ return Callable(isolate->builtins()->CallVarargs(), |
+ CallVarargsDescriptor(isolate)); |
+} |
+ |
// static |
Callable CodeFactory::CallForwardVarargs(Isolate* isolate) { |
return Callable(isolate->builtins()->CallForwardVarargs(), |
@@ -439,6 +445,12 @@ Callable CodeFactory::ConstructFunction(Isolate* isolate) { |
ConstructTrampolineDescriptor(isolate)); |
} |
+// static |
+Callable CodeFactory::ConstructVarargs(Isolate* isolate) { |
+ return Callable(isolate->builtins()->ConstructVarargs(), |
+ ConstructVarargsDescriptor(isolate)); |
+} |
+ |
// static |
Callable CodeFactory::ConstructForwardVarargs(Isolate* isolate) { |
return Callable(isolate->builtins()->ConstructForwardVarargs(), |