| Index: src/code-factory.cc
|
| diff --git a/src/code-factory.cc b/src/code-factory.cc
|
| index 0ff6defa05a675ad6e71f7114567a8e0f4bf7389..85922c6a1b4818759f7085c790e6516b456c1f95 100644
|
| --- a/src/code-factory.cc
|
| +++ b/src/code-factory.cc
|
| @@ -374,6 +374,12 @@ Callable CodeFactory::Call(Isolate* isolate, ConvertReceiverMode mode,
|
| }
|
|
|
| // static
|
| +Callable CodeFactory::CallWithSpread(Isolate* isolate) {
|
| + return Callable(isolate->builtins()->CallWithSpread(),
|
| + CallTrampolineDescriptor(isolate));
|
| +}
|
| +
|
| +// static
|
| Callable CodeFactory::CallFunction(Isolate* isolate, ConvertReceiverMode mode) {
|
| return Callable(isolate->builtins()->CallFunction(mode),
|
| CallTrampolineDescriptor(isolate));
|
| @@ -400,15 +406,15 @@ Callable CodeFactory::ConstructFunction(Isolate* isolate) {
|
| // static
|
| Callable CodeFactory::InterpreterPushArgsAndCall(Isolate* isolate,
|
| TailCallMode tail_call_mode,
|
| - CallableType function_type) {
|
| - return Callable(isolate->builtins()->InterpreterPushArgsAndCall(
|
| - tail_call_mode, function_type),
|
| - InterpreterPushArgsAndCallDescriptor(isolate));
|
| + InterpreterPushArgsMode mode) {
|
| + return Callable(
|
| + isolate->builtins()->InterpreterPushArgsAndCall(tail_call_mode, mode),
|
| + InterpreterPushArgsAndCallDescriptor(isolate));
|
| }
|
|
|
| // static
|
| Callable CodeFactory::InterpreterPushArgsAndConstruct(
|
| - Isolate* isolate, PushArgsConstructMode mode) {
|
| + Isolate* isolate, InterpreterPushArgsMode mode) {
|
| return Callable(isolate->builtins()->InterpreterPushArgsAndConstruct(mode),
|
| InterpreterPushArgsAndConstructDescriptor(isolate));
|
| }
|
|
|