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 #include <memory> | 9 #include <memory> |
10 | 10 |
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
372 Node* context, const Arg& arg1, const Arg& arg2, | 372 Node* context, const Arg& arg1, const Arg& arg2, |
373 const Arg& arg3, size_t result_size = 1); | 373 const Arg& arg3, size_t result_size = 1); |
374 Node* CallStub(const CallInterfaceDescriptor& descriptor, Node* target, | 374 Node* CallStub(const CallInterfaceDescriptor& descriptor, Node* target, |
375 Node* context, const Arg& arg1, const Arg& arg2, | 375 Node* context, const Arg& arg1, const Arg& arg2, |
376 const Arg& arg3, const Arg& arg4, size_t result_size = 1); | 376 const Arg& arg3, const Arg& arg4, size_t result_size = 1); |
377 Node* CallStub(const CallInterfaceDescriptor& descriptor, Node* target, | 377 Node* CallStub(const CallInterfaceDescriptor& descriptor, Node* target, |
378 Node* context, const Arg& arg1, const Arg& arg2, | 378 Node* context, const Arg& arg1, const Arg& arg2, |
379 const Arg& arg3, const Arg& arg4, const Arg& arg5, | 379 const Arg& arg3, const Arg& arg4, const Arg& arg5, |
380 size_t result_size = 1); | 380 size_t result_size = 1); |
381 | 381 |
| 382 Node* CallStubN(const CallInterfaceDescriptor& descriptor, |
| 383 int js_parameter_count, Node* target, Node** args, |
| 384 size_t result_size = 1); |
382 Node* CallStubN(const CallInterfaceDescriptor& descriptor, Node* target, | 385 Node* CallStubN(const CallInterfaceDescriptor& descriptor, Node* target, |
383 Node** args, size_t result_size = 1); | 386 Node** args, size_t result_size = 1) { |
| 387 return CallStubN(descriptor, 0, target, args, result_size); |
| 388 } |
384 | 389 |
385 Node* TailCallStub(Callable const& callable, Node* context, Node* arg1, | 390 Node* TailCallStub(Callable const& callable, Node* context, Node* arg1, |
386 size_t result_size = 1); | 391 size_t result_size = 1); |
387 Node* TailCallStub(Callable const& callable, Node* context, Node* arg1, | 392 Node* TailCallStub(Callable const& callable, Node* context, Node* arg1, |
388 Node* arg2, size_t result_size = 1); | 393 Node* arg2, size_t result_size = 1); |
389 Node* TailCallStub(Callable const& callable, Node* context, Node* arg1, | 394 Node* TailCallStub(Callable const& callable, Node* context, Node* arg1, |
390 Node* arg2, Node* arg3, size_t result_size = 1); | 395 Node* arg2, Node* arg3, size_t result_size = 1); |
391 Node* TailCallStub(Callable const& callable, Node* context, Node* arg1, | 396 Node* TailCallStub(Callable const& callable, Node* context, Node* arg1, |
392 Node* arg2, Node* arg3, Node* arg4, | 397 Node* arg2, Node* arg3, Node* arg4, |
393 size_t result_size = 1); | 398 size_t result_size = 1); |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
498 // Map of variables to the list of value nodes that have been added from each | 503 // Map of variables to the list of value nodes that have been added from each |
499 // merge path in their order of merging. | 504 // merge path in their order of merging. |
500 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_; | 505 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_; |
501 }; | 506 }; |
502 | 507 |
503 } // namespace compiler | 508 } // namespace compiler |
504 } // namespace internal | 509 } // namespace internal |
505 } // namespace v8 | 510 } // namespace v8 |
506 | 511 |
507 #endif // V8_COMPILER_CODE_ASSEMBLER_H_ | 512 #endif // V8_COMPILER_CODE_ASSEMBLER_H_ |
OLD | NEW |