| 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 714 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 725 Node* arg1); | 725 Node* arg1); |
| 726 // Call to a C function with eight arguments. | 726 // Call to a C function with eight arguments. |
| 727 Node* CallCFunction8(MachineType return_type, MachineType arg0_type, | 727 Node* CallCFunction8(MachineType return_type, MachineType arg0_type, |
| 728 MachineType arg1_type, MachineType arg2_type, | 728 MachineType arg1_type, MachineType arg2_type, |
| 729 MachineType arg3_type, MachineType arg4_type, | 729 MachineType arg3_type, MachineType arg4_type, |
| 730 MachineType arg5_type, MachineType arg6_type, | 730 MachineType arg5_type, MachineType arg6_type, |
| 731 MachineType arg7_type, Node* function, Node* arg0, | 731 MachineType arg7_type, Node* function, Node* arg0, |
| 732 Node* arg1, Node* arg2, Node* arg3, Node* arg4, | 732 Node* arg1, Node* arg2, Node* arg3, Node* arg4, |
| 733 Node* arg5, Node* arg6, Node* arg7); | 733 Node* arg5, Node* arg6, Node* arg7); |
| 734 | 734 |
| 735 // Tail call the given call descriptor and the given arguments. | |
| 736 Node* TailCallN(CallDescriptor* call_descriptor, Node* function, Node** args); | |
| 737 | |
| 738 // =========================================================================== | 735 // =========================================================================== |
| 739 // The following utility methods deal with control flow, hence might switch | 736 // The following utility methods deal with control flow, hence might switch |
| 740 // the current basic block or create new basic blocks for labels. | 737 // the current basic block or create new basic blocks for labels. |
| 741 | 738 |
| 742 // Control flow. | 739 // Control flow. |
| 743 void Goto(RawMachineLabel* label); | 740 void Goto(RawMachineLabel* label); |
| 744 void Branch(Node* condition, RawMachineLabel* true_val, | 741 void Branch(Node* condition, RawMachineLabel* true_val, |
| 745 RawMachineLabel* false_val); | 742 RawMachineLabel* false_val); |
| 746 void Switch(Node* index, RawMachineLabel* default_label, | 743 void Switch(Node* index, RawMachineLabel* default_label, |
| 747 const int32_t* case_values, RawMachineLabel** case_labels, | 744 const int32_t* case_values, RawMachineLabel** case_labels, |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 828 bool deferred_; | 825 bool deferred_; |
| 829 friend class RawMachineAssembler; | 826 friend class RawMachineAssembler; |
| 830 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); | 827 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); |
| 831 }; | 828 }; |
| 832 | 829 |
| 833 } // namespace compiler | 830 } // namespace compiler |
| 834 } // namespace internal | 831 } // namespace internal |
| 835 } // namespace v8 | 832 } // namespace v8 |
| 836 | 833 |
| 837 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ | 834 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ |
| OLD | NEW |