OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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_CODE_FACTORY_H_ | 5 #ifndef V8_CODE_FACTORY_H_ |
6 #define V8_CODE_FACTORY_H_ | 6 #define V8_CODE_FACTORY_H_ |
7 | 7 |
8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
9 #include "src/assembler.h" | 9 #include "src/assembler.h" |
10 #include "src/codegen.h" | 10 #include "src/codegen.h" |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 SIMD128_TYPES(SIMD128_ALLOC) | 161 SIMD128_TYPES(SIMD128_ALLOC) |
162 #undef SIMD128_ALLOC | 162 #undef SIMD128_ALLOC |
163 | 163 |
164 static Callable ArgumentAdaptor(Isolate* isolate); | 164 static Callable ArgumentAdaptor(Isolate* isolate); |
165 static Callable Call(Isolate* isolate, | 165 static Callable Call(Isolate* isolate, |
166 ConvertReceiverMode mode = ConvertReceiverMode::kAny, | 166 ConvertReceiverMode mode = ConvertReceiverMode::kAny, |
167 TailCallMode tail_call_mode = TailCallMode::kDisallow); | 167 TailCallMode tail_call_mode = TailCallMode::kDisallow); |
168 static Callable CallWithSpread(Isolate* isolate); | 168 static Callable CallWithSpread(Isolate* isolate); |
169 static Callable CallFunction( | 169 static Callable CallFunction( |
170 Isolate* isolate, ConvertReceiverMode mode = ConvertReceiverMode::kAny); | 170 Isolate* isolate, ConvertReceiverMode mode = ConvertReceiverMode::kAny); |
| 171 static Callable CallForwardVarargs(Isolate* isolate); |
| 172 static Callable CallFunctionForwardVarargs(Isolate* isolate); |
171 static Callable Construct(Isolate* isolate); | 173 static Callable Construct(Isolate* isolate); |
172 static Callable ConstructWithSpread(Isolate* isolate); | 174 static Callable ConstructWithSpread(Isolate* isolate); |
173 static Callable ConstructFunction(Isolate* isolate); | 175 static Callable ConstructFunction(Isolate* isolate); |
174 static Callable CreateIterResultObject(Isolate* isolate); | 176 static Callable CreateIterResultObject(Isolate* isolate); |
175 static Callable HasProperty(Isolate* isolate); | 177 static Callable HasProperty(Isolate* isolate); |
176 static Callable ForInFilter(Isolate* isolate); | 178 static Callable ForInFilter(Isolate* isolate); |
177 | 179 |
178 static Callable InterpreterPushArgsAndCall(Isolate* isolate, | 180 static Callable InterpreterPushArgsAndCall(Isolate* isolate, |
179 TailCallMode tail_call_mode, | 181 TailCallMode tail_call_mode, |
180 InterpreterPushArgsMode mode); | 182 InterpreterPushArgsMode mode); |
181 static Callable InterpreterPushArgsAndConstruct(Isolate* isolate, | 183 static Callable InterpreterPushArgsAndConstruct(Isolate* isolate, |
182 InterpreterPushArgsMode mode); | 184 InterpreterPushArgsMode mode); |
183 static Callable InterpreterPushArgsAndConstructArray(Isolate* isolate); | 185 static Callable InterpreterPushArgsAndConstructArray(Isolate* isolate); |
184 static Callable InterpreterCEntry(Isolate* isolate, int result_size = 1); | 186 static Callable InterpreterCEntry(Isolate* isolate, int result_size = 1); |
185 static Callable InterpreterOnStackReplacement(Isolate* isolate); | 187 static Callable InterpreterOnStackReplacement(Isolate* isolate); |
186 | 188 |
187 static Callable ArrayPush(Isolate* isolate); | 189 static Callable ArrayPush(Isolate* isolate); |
188 static Callable FunctionPrototypeBind(Isolate* isolate); | 190 static Callable FunctionPrototypeBind(Isolate* isolate); |
189 static Callable PromiseHandleReject(Isolate* isolate); | 191 static Callable PromiseHandleReject(Isolate* isolate); |
190 }; | 192 }; |
191 | 193 |
192 } // namespace internal | 194 } // namespace internal |
193 } // namespace v8 | 195 } // namespace v8 |
194 | 196 |
195 #endif // V8_CODE_FACTORY_H_ | 197 #endif // V8_CODE_FACTORY_H_ |
OLD | NEW |