| 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/code-factory.h" | 9 #include "src/code-factory.h" |
| 10 #include "src/compiler/common-operator.h" | 10 #include "src/compiler/common-operator.h" |
| (...skipping 718 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 729 | 729 |
| 730 // Call to a C function with zero arguments. | 730 // Call to a C function with zero arguments. |
| 731 Node* CallCFunction0(MachineType return_type, Node* function); | 731 Node* CallCFunction0(MachineType return_type, Node* function); |
| 732 // Call to a C function with one parameter. | 732 // Call to a C function with one parameter. |
| 733 Node* CallCFunction1(MachineType return_type, MachineType arg0_type, | 733 Node* CallCFunction1(MachineType return_type, MachineType arg0_type, |
| 734 Node* function, Node* arg0); | 734 Node* function, Node* arg0); |
| 735 // Call to a C function with two arguments. | 735 // Call to a C function with two arguments. |
| 736 Node* CallCFunction2(MachineType return_type, MachineType arg0_type, | 736 Node* CallCFunction2(MachineType return_type, MachineType arg0_type, |
| 737 MachineType arg1_type, Node* function, Node* arg0, | 737 MachineType arg1_type, Node* function, Node* arg0, |
| 738 Node* arg1); | 738 Node* arg1); |
| 739 // Call to a C function with three arguments. |
| 740 Node* CallCFunction3(MachineType return_type, MachineType arg0_type, |
| 741 MachineType arg1_type, MachineType arg2_type, |
| 742 Node* function, Node* arg0, Node* arg1, Node* arg2); |
| 739 // Call to a C function with eight arguments. | 743 // Call to a C function with eight arguments. |
| 740 Node* CallCFunction8(MachineType return_type, MachineType arg0_type, | 744 Node* CallCFunction8(MachineType return_type, MachineType arg0_type, |
| 741 MachineType arg1_type, MachineType arg2_type, | 745 MachineType arg1_type, MachineType arg2_type, |
| 742 MachineType arg3_type, MachineType arg4_type, | 746 MachineType arg3_type, MachineType arg4_type, |
| 743 MachineType arg5_type, MachineType arg6_type, | 747 MachineType arg5_type, MachineType arg6_type, |
| 744 MachineType arg7_type, Node* function, Node* arg0, | 748 MachineType arg7_type, Node* function, Node* arg0, |
| 745 Node* arg1, Node* arg2, Node* arg3, Node* arg4, | 749 Node* arg1, Node* arg2, Node* arg3, Node* arg4, |
| 746 Node* arg5, Node* arg6, Node* arg7); | 750 Node* arg5, Node* arg6, Node* arg7); |
| 747 | 751 |
| 748 // Tail call the given call descriptor and the given arguments. | 752 // Tail call the given call descriptor and the given arguments. |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 862 bool deferred_; | 866 bool deferred_; |
| 863 friend class RawMachineAssembler; | 867 friend class RawMachineAssembler; |
| 864 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); | 868 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); |
| 865 }; | 869 }; |
| 866 | 870 |
| 867 } // namespace compiler | 871 } // namespace compiler |
| 868 } // namespace internal | 872 } // namespace internal |
| 869 } // namespace v8 | 873 } // namespace v8 |
| 870 | 874 |
| 871 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ | 875 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ |
| OLD | NEW |