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 770 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
781 Node* arg1, Node* arg2, Node* arg3, Node* arg4, | 781 Node* arg1, Node* arg2, Node* arg3, Node* arg4, |
782 Node* arg5); | 782 Node* arg5); |
783 // Call to a C function with eight arguments. | 783 // Call to a C function with eight arguments. |
784 Node* CallCFunction8(MachineType return_type, MachineType arg0_type, | 784 Node* CallCFunction8(MachineType return_type, MachineType arg0_type, |
785 MachineType arg1_type, MachineType arg2_type, | 785 MachineType arg1_type, MachineType arg2_type, |
786 MachineType arg3_type, MachineType arg4_type, | 786 MachineType arg3_type, MachineType arg4_type, |
787 MachineType arg5_type, MachineType arg6_type, | 787 MachineType arg5_type, MachineType arg6_type, |
788 MachineType arg7_type, Node* function, Node* arg0, | 788 MachineType arg7_type, Node* function, Node* arg0, |
789 Node* arg1, Node* arg2, Node* arg3, Node* arg4, | 789 Node* arg1, Node* arg2, Node* arg3, Node* arg4, |
790 Node* arg5, Node* arg6, Node* arg7); | 790 Node* arg5, Node* arg6, Node* arg7); |
| 791 // Call to a C function with nine arguments. |
| 792 Node* CallCFunction9(MachineType return_type, MachineType arg0_type, |
| 793 MachineType arg1_type, MachineType arg2_type, |
| 794 MachineType arg3_type, MachineType arg4_type, |
| 795 MachineType arg5_type, MachineType arg6_type, |
| 796 MachineType arg7_type, MachineType arg8_type, |
| 797 Node* function, Node* arg0, Node* arg1, Node* arg2, |
| 798 Node* arg3, Node* arg4, Node* arg5, Node* arg6, |
| 799 Node* arg7, Node* arg8); |
791 | 800 |
792 // =========================================================================== | 801 // =========================================================================== |
793 // The following utility methods deal with control flow, hence might switch | 802 // The following utility methods deal with control flow, hence might switch |
794 // the current basic block or create new basic blocks for labels. | 803 // the current basic block or create new basic blocks for labels. |
795 | 804 |
796 // Control flow. | 805 // Control flow. |
797 void Goto(RawMachineLabel* label); | 806 void Goto(RawMachineLabel* label); |
798 void Branch(Node* condition, RawMachineLabel* true_val, | 807 void Branch(Node* condition, RawMachineLabel* true_val, |
799 RawMachineLabel* false_val); | 808 RawMachineLabel* false_val); |
800 void Switch(Node* index, RawMachineLabel* default_label, | 809 void Switch(Node* index, RawMachineLabel* default_label, |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
891 bool deferred_; | 900 bool deferred_; |
892 friend class RawMachineAssembler; | 901 friend class RawMachineAssembler; |
893 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); | 902 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); |
894 }; | 903 }; |
895 | 904 |
896 } // namespace compiler | 905 } // namespace compiler |
897 } // namespace internal | 906 } // namespace internal |
898 } // namespace v8 | 907 } // namespace v8 |
899 | 908 |
900 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ | 909 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ |
OLD | NEW |