Index: src/code-factory.h |
diff --git a/src/code-factory.h b/src/code-factory.h |
index 2500ebd27435b24931f4ffc8944254943630394c..f69779b6ea923659943686886566cba6f6d70a27 100644 |
--- a/src/code-factory.h |
+++ b/src/code-factory.h |
@@ -166,6 +166,7 @@ class V8_EXPORT_PRIVATE CodeFactory final { |
static Callable CallFunction( |
Isolate* isolate, ConvertReceiverMode mode = ConvertReceiverMode::kAny); |
static Callable Construct(Isolate* isolate); |
+ static Callable ConstructWithSpread(Isolate* isolate); |
static Callable ConstructFunction(Isolate* isolate); |
static Callable CreateIterResultObject(Isolate* isolate); |
static Callable HasProperty(Isolate* isolate); |
@@ -174,8 +175,8 @@ class V8_EXPORT_PRIVATE CodeFactory final { |
static Callable InterpreterPushArgsAndCall( |
Isolate* isolate, TailCallMode tail_call_mode, |
CallableType function_type = CallableType::kAny); |
- static Callable InterpreterPushArgsAndConstruct( |
- Isolate* isolate, CallableType function_type = CallableType::kAny); |
+ static Callable InterpreterPushArgsAndConstruct(Isolate* isolate, |
+ PushArgsConstructMode mode); |
static Callable InterpreterPushArgsAndConstructArray(Isolate* isolate); |
static Callable InterpreterCEntry(Isolate* isolate, int result_size = 1); |
static Callable InterpreterOnStackReplacement(Isolate* isolate); |