| Index: src/builtins/builtins-interpreter.cc
|
| diff --git a/src/builtins/builtins-interpreter.cc b/src/builtins/builtins-interpreter.cc
|
| index 900172fd48311efb2596e4402fd441a26787600b..16091848c5eebf193f2052c19e7ac55742ecf01f 100644
|
| --- a/src/builtins/builtins-interpreter.cc
|
| +++ b/src/builtins/builtins-interpreter.cc
|
| @@ -50,5 +50,27 @@ void Builtins::Generate_InterpreterPushArgsAndTailCallFunction(
|
| CallableType::kJSFunction);
|
| }
|
|
|
| +Handle<Code> Builtins::InterpreterPushArgsAndConstruct(
|
| + CallableType function_type) {
|
| + switch (function_type) {
|
| + case CallableType::kJSFunction:
|
| + return InterpreterPushArgsAndConstructFunction();
|
| + case CallableType::kAny:
|
| + return InterpreterPushArgsAndConstruct();
|
| + }
|
| + UNREACHABLE();
|
| + return Handle<Code>::null();
|
| +}
|
| +
|
| +void Builtins::Generate_InterpreterPushArgsAndConstruct(MacroAssembler* masm) {
|
| + return Generate_InterpreterPushArgsAndConstructImpl(masm, CallableType::kAny);
|
| +}
|
| +
|
| +void Builtins::Generate_InterpreterPushArgsAndConstructFunction(
|
| + MacroAssembler* masm) {
|
| + return Generate_InterpreterPushArgsAndConstructImpl(
|
| + masm, CallableType::kJSFunction);
|
| +}
|
| +
|
| } // namespace internal
|
| } // namespace v8
|
|
|