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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 | 117 |
118 static void Generate_CallFunction(MacroAssembler* masm, | 118 static void Generate_CallFunction(MacroAssembler* masm, |
119 ConvertReceiverMode mode, | 119 ConvertReceiverMode mode, |
120 TailCallMode tail_call_mode); | 120 TailCallMode tail_call_mode); |
121 | 121 |
122 static void Generate_CallBoundFunctionImpl(MacroAssembler* masm, | 122 static void Generate_CallBoundFunctionImpl(MacroAssembler* masm, |
123 TailCallMode tail_call_mode); | 123 TailCallMode tail_call_mode); |
124 | 124 |
125 static void Generate_Call(MacroAssembler* masm, ConvertReceiverMode mode, | 125 static void Generate_Call(MacroAssembler* masm, ConvertReceiverMode mode, |
126 TailCallMode tail_call_mode); | 126 TailCallMode tail_call_mode); |
127 static void Generate_CallForwardVarargs(MacroAssembler* masm, | 127 |
128 Handle<Code> code); | 128 static void Generate_ForwardVarargs(MacroAssembler* masm, Handle<Code> code); |
129 | 129 |
130 static void Generate_InterpreterPushArgsThenCallImpl( | 130 static void Generate_InterpreterPushArgsThenCallImpl( |
131 MacroAssembler* masm, ConvertReceiverMode receiver_mode, | 131 MacroAssembler* masm, ConvertReceiverMode receiver_mode, |
132 TailCallMode tail_call_mode, InterpreterPushArgsMode mode); | 132 TailCallMode tail_call_mode, InterpreterPushArgsMode mode); |
133 | 133 |
134 static void Generate_InterpreterPushArgsThenConstructImpl( | 134 static void Generate_InterpreterPushArgsThenConstructImpl( |
135 MacroAssembler* masm, InterpreterPushArgsMode mode); | 135 MacroAssembler* masm, InterpreterPushArgsMode mode); |
136 | 136 |
137 #define DECLARE_ASM(Name, ...) \ | 137 #define DECLARE_ASM(Name, ...) \ |
138 static void Generate_##Name(MacroAssembler* masm); | 138 static void Generate_##Name(MacroAssembler* masm); |
(...skipping 15 matching lines...) Expand all Loading... |
154 friend class Isolate; | 154 friend class Isolate; |
155 friend class SetupIsolateDelegate; | 155 friend class SetupIsolateDelegate; |
156 | 156 |
157 DISALLOW_COPY_AND_ASSIGN(Builtins); | 157 DISALLOW_COPY_AND_ASSIGN(Builtins); |
158 }; | 158 }; |
159 | 159 |
160 } // namespace internal | 160 } // namespace internal |
161 } // namespace v8 | 161 } // namespace v8 |
162 | 162 |
163 #endif // V8_BUILTINS_BUILTINS_H_ | 163 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |