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 700 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
711 Node* CallRuntime1(Runtime::FunctionId function, Node* arg0, Node* context); | 711 Node* CallRuntime1(Runtime::FunctionId function, Node* arg0, Node* context); |
712 // Call to a runtime function with two arguments. | 712 // Call to a runtime function with two arguments. |
713 Node* CallRuntime2(Runtime::FunctionId function, Node* arg1, Node* arg2, | 713 Node* CallRuntime2(Runtime::FunctionId function, Node* arg1, Node* arg2, |
714 Node* context); | 714 Node* context); |
715 // Call to a runtime function with three arguments. | 715 // Call to a runtime function with three arguments. |
716 Node* CallRuntime3(Runtime::FunctionId function, Node* arg1, Node* arg2, | 716 Node* CallRuntime3(Runtime::FunctionId function, Node* arg1, Node* arg2, |
717 Node* arg3, Node* context); | 717 Node* arg3, Node* context); |
718 // Call to a runtime function with four arguments. | 718 // Call to a runtime function with four arguments. |
719 Node* CallRuntime4(Runtime::FunctionId function, Node* arg1, Node* arg2, | 719 Node* CallRuntime4(Runtime::FunctionId function, Node* arg1, Node* arg2, |
720 Node* arg3, Node* arg4, Node* context); | 720 Node* arg3, Node* arg4, Node* context); |
| 721 // Call to a runtime function with five arguments. |
| 722 Node* CallRuntime5(Runtime::FunctionId function, Node* arg1, Node* arg2, |
| 723 Node* arg3, Node* arg4, Node* arg5, Node* context); |
721 // Call to a C function with zero arguments. | 724 // Call to a C function with zero arguments. |
722 Node* CallCFunction0(MachineType return_type, Node* function); | 725 Node* CallCFunction0(MachineType return_type, Node* function); |
723 // Call to a C function with one parameter. | 726 // Call to a C function with one parameter. |
724 Node* CallCFunction1(MachineType return_type, MachineType arg0_type, | 727 Node* CallCFunction1(MachineType return_type, MachineType arg0_type, |
725 Node* function, Node* arg0); | 728 Node* function, Node* arg0); |
726 // Call to a C function with two arguments. | 729 // Call to a C function with two arguments. |
727 Node* CallCFunction2(MachineType return_type, MachineType arg0_type, | 730 Node* CallCFunction2(MachineType return_type, MachineType arg0_type, |
728 MachineType arg1_type, Node* function, Node* arg0, | 731 MachineType arg1_type, Node* function, Node* arg0, |
729 Node* arg1); | 732 Node* arg1); |
730 // Call to a C function with eight arguments. | 733 // Call to a C function with eight arguments. |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
853 bool deferred_; | 856 bool deferred_; |
854 friend class RawMachineAssembler; | 857 friend class RawMachineAssembler; |
855 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); | 858 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); |
856 }; | 859 }; |
857 | 860 |
858 } // namespace compiler | 861 } // namespace compiler |
859 } // namespace internal | 862 } // namespace internal |
860 } // namespace v8 | 863 } // namespace v8 |
861 | 864 |
862 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ | 865 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ |
OLD | NEW |