OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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_COMPILER_CODE_ASSEMBLER_H_ | 5 #ifndef V8_COMPILER_CODE_ASSEMBLER_H_ |
6 #define V8_COMPILER_CODE_ASSEMBLER_H_ | 6 #define V8_COMPILER_CODE_ASSEMBLER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 // Clients of this interface shouldn't depend on lots of compiler internals. | 10 // Clients of this interface shouldn't depend on lots of compiler internals. |
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 Node* arg1, Node* arg2, Node* arg3); | 304 Node* arg1, Node* arg2, Node* arg3); |
305 Node* TailCallRuntime(Runtime::FunctionId function_id, Node* context, | 305 Node* TailCallRuntime(Runtime::FunctionId function_id, Node* context, |
306 Node* arg1, Node* arg2, Node* arg3, Node* arg4); | 306 Node* arg1, Node* arg2, Node* arg3, Node* arg4); |
307 | 307 |
308 Node* CallStub(Callable const& callable, Node* context, Node* arg1, | 308 Node* CallStub(Callable const& callable, Node* context, Node* arg1, |
309 size_t result_size = 1); | 309 size_t result_size = 1); |
310 Node* CallStub(Callable const& callable, Node* context, Node* arg1, | 310 Node* CallStub(Callable const& callable, Node* context, Node* arg1, |
311 Node* arg2, size_t result_size = 1); | 311 Node* arg2, size_t result_size = 1); |
312 Node* CallStub(Callable const& callable, Node* context, Node* arg1, | 312 Node* CallStub(Callable const& callable, Node* context, Node* arg1, |
313 Node* arg2, Node* arg3, size_t result_size = 1); | 313 Node* arg2, Node* arg3, size_t result_size = 1); |
| 314 Node* CallStubN(Callable const& callable, Node** args, |
| 315 size_t result_size = 1); |
314 | 316 |
315 Node* CallStub(const CallInterfaceDescriptor& descriptor, Node* target, | 317 Node* CallStub(const CallInterfaceDescriptor& descriptor, Node* target, |
316 Node* context, Node* arg1, size_t result_size = 1); | 318 Node* context, Node* arg1, size_t result_size = 1); |
317 Node* CallStub(const CallInterfaceDescriptor& descriptor, Node* target, | 319 Node* CallStub(const CallInterfaceDescriptor& descriptor, Node* target, |
318 Node* context, Node* arg1, Node* arg2, size_t result_size = 1); | 320 Node* context, Node* arg1, Node* arg2, size_t result_size = 1); |
319 Node* CallStub(const CallInterfaceDescriptor& descriptor, Node* target, | 321 Node* CallStub(const CallInterfaceDescriptor& descriptor, Node* target, |
320 Node* context, Node* arg1, Node* arg2, Node* arg3, | 322 Node* context, Node* arg1, Node* arg2, Node* arg3, |
321 size_t result_size = 1); | 323 size_t result_size = 1); |
322 Node* CallStub(const CallInterfaceDescriptor& descriptor, Node* target, | 324 Node* CallStub(const CallInterfaceDescriptor& descriptor, Node* target, |
323 Node* context, Node* arg1, Node* arg2, Node* arg3, Node* arg4, | 325 Node* context, Node* arg1, Node* arg2, Node* arg3, Node* arg4, |
324 size_t result_size = 1); | 326 size_t result_size = 1); |
325 Node* CallStub(const CallInterfaceDescriptor& descriptor, Node* target, | 327 Node* CallStub(const CallInterfaceDescriptor& descriptor, Node* target, |
326 Node* context, Node* arg1, Node* arg2, Node* arg3, Node* arg4, | 328 Node* context, Node* arg1, Node* arg2, Node* arg3, Node* arg4, |
327 Node* arg5, size_t result_size = 1); | 329 Node* arg5, size_t result_size = 1); |
| 330 Node* CallStubN(const CallInterfaceDescriptor& descriptor, Node* target, |
| 331 Node** args, size_t result_size = 1); |
328 | 332 |
329 Node* TailCallStub(Callable const& callable, Node* context, Node* arg1, | 333 Node* TailCallStub(Callable const& callable, Node* context, Node* arg1, |
330 Node* arg2, size_t result_size = 1); | 334 Node* arg2, size_t result_size = 1); |
331 Node* TailCallStub(Callable const& callable, Node* context, Node* arg1, | 335 Node* TailCallStub(Callable const& callable, Node* context, Node* arg1, |
332 Node* arg2, Node* arg3, size_t result_size = 1); | 336 Node* arg2, Node* arg3, size_t result_size = 1); |
333 Node* TailCallStub(const CallInterfaceDescriptor& descriptor, Node* target, | 337 Node* TailCallStub(const CallInterfaceDescriptor& descriptor, Node* target, |
334 Node* context, Node* arg1, Node* arg2, | 338 Node* context, Node* arg1, Node* arg2, |
335 size_t result_size = 1); | 339 size_t result_size = 1); |
336 Node* TailCallStub(const CallInterfaceDescriptor& descriptor, Node* target, | 340 Node* TailCallStub(const CallInterfaceDescriptor& descriptor, Node* target, |
337 Node* context, Node* arg1, Node* arg2, Node* arg3, | 341 Node* context, Node* arg1, Node* arg2, Node* arg3, |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
425 // Map of variables to the list of value nodes that have been added from each | 429 // Map of variables to the list of value nodes that have been added from each |
426 // merge path in their order of merging. | 430 // merge path in their order of merging. |
427 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_; | 431 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_; |
428 }; | 432 }; |
429 | 433 |
430 } // namespace compiler | 434 } // namespace compiler |
431 } // namespace internal | 435 } // namespace internal |
432 } // namespace v8 | 436 } // namespace v8 |
433 | 437 |
434 #endif // V8_COMPILER_CODE_ASSEMBLER_H_ | 438 #endif // V8_COMPILER_CODE_ASSEMBLER_H_ |
OLD | NEW |