| Index: src/builtins/builtins.h
|
| diff --git a/src/builtins/builtins.h b/src/builtins/builtins.h
|
| index e7d60188ceda3a60cc2bdf361052476417c85a08..6f934a61d9b02fae60de8e4148677d3c5913a4ad 100644
|
| --- a/src/builtins/builtins.h
|
| +++ b/src/builtins/builtins.h
|
| @@ -115,6 +115,7 @@ namespace internal {
|
| ASM(InterpreterPushArgsAndCall) \
|
| ASM(InterpreterPushArgsAndTailCall) \
|
| ASM(InterpreterPushArgsAndConstruct) \
|
| + ASM(InterpreterPushArgsAndConstructFunction) \
|
| ASM(InterpreterEnterBytecodeDispatch) \
|
| /* Code life-cycle */ \
|
| ASM(CompileLazy) \
|
| @@ -451,6 +452,7 @@ class Builtins {
|
| Handle<Code> InterpreterPushArgsAndCall(
|
| TailCallMode tail_call_mode,
|
| CallableType function_type = CallableType::kAny);
|
| + Handle<Code> InterpreterPushArgsAndConstruct(CallableType function_type);
|
|
|
| Code* builtin(Name name) {
|
| // Code::cast cannot be used here since we access builtins
|
| @@ -808,7 +810,18 @@ class Builtins {
|
| static void Generate_InterpreterPushArgsAndCallImpl(
|
| MacroAssembler* masm, TailCallMode tail_call_mode,
|
| CallableType function_type);
|
| - static void Generate_InterpreterPushArgsAndConstruct(MacroAssembler* masm);
|
| +
|
| + static void Generate_InterpreterPushArgsAndConstruct(MacroAssembler* masm) {
|
| + return Generate_InterpreterPushArgsAndConstructImpl(masm,
|
| + CallableType::kAny);
|
| + }
|
| + static void Generate_InterpreterPushArgsAndConstructFunction(
|
| + MacroAssembler* masm) {
|
| + return Generate_InterpreterPushArgsAndConstructImpl(
|
| + masm, CallableType::kJSFunction);
|
| + }
|
| + static void Generate_InterpreterPushArgsAndConstructImpl(
|
| + MacroAssembler* masm, CallableType function_type);
|
|
|
| #define DECLARE_CODE_AGE_BUILTIN_GENERATOR(C) \
|
| static void Generate_Make##C##CodeYoungAgainEvenMarking( \
|
|
|