| OLD | NEW |
| (Empty) |
| 1 // Copyright 2017 the V8 project authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "src/builtins/builtins.h" | |
| 6 #include "src/globals.h" | |
| 7 #include "src/macro-assembler.h" | |
| 8 | |
| 9 namespace v8 { | |
| 10 namespace internal { | |
| 11 | |
| 12 void Builtins::Generate_InterpreterPushArgsAndCall(MacroAssembler* masm) { | |
| 13 return Generate_InterpreterPushArgsAndCallImpl( | |
| 14 masm, TailCallMode::kDisallow, InterpreterPushArgsMode::kOther); | |
| 15 } | |
| 16 | |
| 17 void Builtins::Generate_InterpreterPushArgsAndCallFunction( | |
| 18 MacroAssembler* masm) { | |
| 19 return Generate_InterpreterPushArgsAndCallImpl( | |
| 20 masm, TailCallMode::kDisallow, InterpreterPushArgsMode::kJSFunction); | |
| 21 } | |
| 22 | |
| 23 void Builtins::Generate_InterpreterPushArgsAndCallWithFinalSpread( | |
| 24 MacroAssembler* masm) { | |
| 25 return Generate_InterpreterPushArgsAndCallImpl( | |
| 26 masm, TailCallMode::kDisallow, InterpreterPushArgsMode::kWithFinalSpread); | |
| 27 } | |
| 28 | |
| 29 void Builtins::Generate_InterpreterPushArgsAndTailCall(MacroAssembler* masm) { | |
| 30 return Generate_InterpreterPushArgsAndCallImpl( | |
| 31 masm, TailCallMode::kAllow, InterpreterPushArgsMode::kOther); | |
| 32 } | |
| 33 | |
| 34 void Builtins::Generate_InterpreterPushArgsAndTailCallFunction( | |
| 35 MacroAssembler* masm) { | |
| 36 return Generate_InterpreterPushArgsAndCallImpl( | |
| 37 masm, TailCallMode::kAllow, InterpreterPushArgsMode::kJSFunction); | |
| 38 } | |
| 39 | |
| 40 void Builtins::Generate_InterpreterPushArgsAndConstruct(MacroAssembler* masm) { | |
| 41 return Generate_InterpreterPushArgsAndConstructImpl( | |
| 42 masm, InterpreterPushArgsMode::kOther); | |
| 43 } | |
| 44 | |
| 45 void Builtins::Generate_InterpreterPushArgsAndConstructWithFinalSpread( | |
| 46 MacroAssembler* masm) { | |
| 47 return Generate_InterpreterPushArgsAndConstructImpl( | |
| 48 masm, InterpreterPushArgsMode::kWithFinalSpread); | |
| 49 } | |
| 50 | |
| 51 void Builtins::Generate_InterpreterPushArgsAndConstructFunction( | |
| 52 MacroAssembler* masm) { | |
| 53 return Generate_InterpreterPushArgsAndConstructImpl( | |
| 54 masm, InterpreterPushArgsMode::kJSFunction); | |
| 55 } | |
| 56 | |
| 57 } // namespace internal | |
| 58 } // namespace v8 | |
| OLD | NEW |