Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_BUILTINS_BUILTINS_H_ | 5 #ifndef V8_BUILTINS_BUILTINS_H_ |
| 6 #define V8_BUILTINS_BUILTINS_H_ | 6 #define V8_BUILTINS_BUILTINS_H_ |
| 7 | 7 |
| 8 #include "src/base/flags.h" | 8 #include "src/base/flags.h" |
| 9 #include "src/builtins/builtins-definitions.h" | 9 #include "src/builtins/builtins-definitions.h" |
| 10 #include "src/globals.h" | 10 #include "src/globals.h" |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 119 static void Generate_CallFunction(MacroAssembler* masm, | 119 static void Generate_CallFunction(MacroAssembler* masm, |
| 120 ConvertReceiverMode mode, | 120 ConvertReceiverMode mode, |
| 121 TailCallMode tail_call_mode); | 121 TailCallMode tail_call_mode); |
| 122 | 122 |
| 123 static void Generate_CallBoundFunctionImpl(MacroAssembler* masm, | 123 static void Generate_CallBoundFunctionImpl(MacroAssembler* masm, |
| 124 TailCallMode tail_call_mode); | 124 TailCallMode tail_call_mode); |
| 125 | 125 |
| 126 static void Generate_Call(MacroAssembler* masm, ConvertReceiverMode mode, | 126 static void Generate_Call(MacroAssembler* masm, ConvertReceiverMode mode, |
| 127 TailCallMode tail_call_mode); | 127 TailCallMode tail_call_mode); |
| 128 | 128 |
| 129 static void Generate_Varargs(MacroAssembler* masm, Handle<Code> code); | |
|
petermarshall
2017/06/08 08:49:04
'Varargs' is a bit confusing because there is no v
Benedikt Meurer
2017/06/08 18:02:58
Renamed to CallOrConstructVarargs and CallOrConstr
| |
| 129 static void Generate_ForwardVarargs(MacroAssembler* masm, Handle<Code> code); | 130 static void Generate_ForwardVarargs(MacroAssembler* masm, Handle<Code> code); |
| 130 | 131 |
| 131 static void Generate_InterpreterPushArgsThenCallImpl( | 132 static void Generate_InterpreterPushArgsThenCallImpl( |
| 132 MacroAssembler* masm, ConvertReceiverMode receiver_mode, | 133 MacroAssembler* masm, ConvertReceiverMode receiver_mode, |
| 133 TailCallMode tail_call_mode, InterpreterPushArgsMode mode); | 134 TailCallMode tail_call_mode, InterpreterPushArgsMode mode); |
| 134 | 135 |
| 135 static void Generate_InterpreterPushArgsThenConstructImpl( | 136 static void Generate_InterpreterPushArgsThenConstructImpl( |
| 136 MacroAssembler* masm, InterpreterPushArgsMode mode); | 137 MacroAssembler* masm, InterpreterPushArgsMode mode); |
| 137 | 138 |
| 138 #define DECLARE_ASM(Name, ...) \ | 139 #define DECLARE_ASM(Name, ...) \ |
| (...skipping 16 matching lines...) Expand all Loading... | |
| 155 friend class Isolate; | 156 friend class Isolate; |
| 156 friend class SetupIsolateDelegate; | 157 friend class SetupIsolateDelegate; |
| 157 | 158 |
| 158 DISALLOW_COPY_AND_ASSIGN(Builtins); | 159 DISALLOW_COPY_AND_ASSIGN(Builtins); |
| 159 }; | 160 }; |
| 160 | 161 |
| 161 } // namespace internal | 162 } // namespace internal |
| 162 } // namespace v8 | 163 } // namespace v8 |
| 163 | 164 |
| 164 #endif // V8_BUILTINS_BUILTINS_H_ | 165 #endif // V8_BUILTINS_BUILTINS_H_ |
| OLD | NEW |