Index: src/code-factory.cc |
diff --git a/src/code-factory.cc b/src/code-factory.cc |
index ab652964c65fdf5c43422c760318529aa075b53d..2c7dcef349a367464201c3aa12469c2f21b1f48b 100644 |
--- a/src/code-factory.cc |
+++ b/src/code-factory.cc |
@@ -466,6 +466,12 @@ Callable CodeFactory::Construct(Isolate* isolate) { |
} |
// static |
+Callable CodeFactory::ConstructWithSpread(Isolate* isolate) { |
+ return Callable(isolate->builtins()->ConstructWithSpread(), |
+ ConstructTrampolineDescriptor(isolate)); |
+} |
+ |
+// static |
Callable CodeFactory::ConstructFunction(Isolate* isolate) { |
return Callable(isolate->builtins()->ConstructFunction(), |
ConstructTrampolineDescriptor(isolate)); |
@@ -482,10 +488,9 @@ Callable CodeFactory::InterpreterPushArgsAndCall(Isolate* isolate, |
// static |
Callable CodeFactory::InterpreterPushArgsAndConstruct( |
- Isolate* isolate, CallableType function_type) { |
- return Callable( |
- isolate->builtins()->InterpreterPushArgsAndConstruct(function_type), |
- InterpreterPushArgsAndConstructDescriptor(isolate)); |
+ Isolate* isolate, PushArgsConstructMode mode) { |
+ return Callable(isolate->builtins()->InterpreterPushArgsAndConstruct(mode), |
+ InterpreterPushArgsAndConstructDescriptor(isolate)); |
} |
// static |