OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_RAW_MACHINE_ASSEMBLER_H_ | 5 #ifndef V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ |
6 #define V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ | 6 #define V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ |
7 | 7 |
8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
9 #include "src/compiler/common-operator.h" | 9 #include "src/compiler/common-operator.h" |
10 #include "src/compiler/graph.h" | 10 #include "src/compiler/graph.h" |
(...skipping 609 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
620 Node* CallCFunction8(MachineType return_type, MachineType arg0_type, | 620 Node* CallCFunction8(MachineType return_type, MachineType arg0_type, |
621 MachineType arg1_type, MachineType arg2_type, | 621 MachineType arg1_type, MachineType arg2_type, |
622 MachineType arg3_type, MachineType arg4_type, | 622 MachineType arg3_type, MachineType arg4_type, |
623 MachineType arg5_type, MachineType arg6_type, | 623 MachineType arg5_type, MachineType arg6_type, |
624 MachineType arg7_type, Node* function, Node* arg0, | 624 MachineType arg7_type, Node* function, Node* arg0, |
625 Node* arg1, Node* arg2, Node* arg3, Node* arg4, | 625 Node* arg1, Node* arg2, Node* arg3, Node* arg4, |
626 Node* arg5, Node* arg6, Node* arg7); | 626 Node* arg5, Node* arg6, Node* arg7); |
627 | 627 |
628 // Tail call the given call descriptor and the given arguments. | 628 // Tail call the given call descriptor and the given arguments. |
629 Node* TailCallN(CallDescriptor* call_descriptor, Node* function, Node** args); | 629 Node* TailCallN(CallDescriptor* call_descriptor, Node* function, Node** args); |
| 630 // Tail call to a runtime function with zero arguments. |
| 631 Node* TailCallRuntime0(Runtime::FunctionId function, Node* context); |
630 // Tail call to a runtime function with one argument. | 632 // Tail call to a runtime function with one argument. |
631 Node* TailCallRuntime1(Runtime::FunctionId function, Node* arg0, | 633 Node* TailCallRuntime1(Runtime::FunctionId function, Node* arg0, |
632 Node* context); | 634 Node* context); |
633 // Tail call to a runtime function with two arguments. | 635 // Tail call to a runtime function with two arguments. |
634 Node* TailCallRuntime2(Runtime::FunctionId function, Node* arg1, Node* arg2, | 636 Node* TailCallRuntime2(Runtime::FunctionId function, Node* arg1, Node* arg2, |
635 Node* context); | 637 Node* context); |
636 // Tail call to a runtime function with three arguments. | 638 // Tail call to a runtime function with three arguments. |
637 Node* TailCallRuntime3(Runtime::FunctionId function, Node* arg1, Node* arg2, | 639 Node* TailCallRuntime3(Runtime::FunctionId function, Node* arg1, Node* arg2, |
638 Node* arg3, Node* context); | 640 Node* arg3, Node* context); |
639 // Tail call to a runtime function with four arguments. | 641 // Tail call to a runtime function with four arguments. |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
722 bool bound_; | 724 bool bound_; |
723 friend class RawMachineAssembler; | 725 friend class RawMachineAssembler; |
724 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); | 726 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); |
725 }; | 727 }; |
726 | 728 |
727 } // namespace compiler | 729 } // namespace compiler |
728 } // namespace internal | 730 } // namespace internal |
729 } // namespace v8 | 731 } // namespace v8 |
730 | 732 |
731 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ | 733 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ |
OLD | NEW |