| 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 726 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 737 Node* context); | 737 Node* context); |
| 738 // Tail call to a runtime function with three arguments. | 738 // Tail call to a runtime function with three arguments. |
| 739 Node* TailCallRuntime3(Runtime::FunctionId function, Node* arg1, Node* arg2, | 739 Node* TailCallRuntime3(Runtime::FunctionId function, Node* arg1, Node* arg2, |
| 740 Node* arg3, Node* context); | 740 Node* arg3, Node* context); |
| 741 // Tail call to a runtime function with four arguments. | 741 // Tail call to a runtime function with four arguments. |
| 742 Node* TailCallRuntime4(Runtime::FunctionId function, Node* arg1, Node* arg2, | 742 Node* TailCallRuntime4(Runtime::FunctionId function, Node* arg1, Node* arg2, |
| 743 Node* arg3, Node* arg4, Node* context); | 743 Node* arg3, Node* arg4, Node* context); |
| 744 // Tail call to a runtime function with five arguments. | 744 // Tail call to a runtime function with five arguments. |
| 745 Node* TailCallRuntime5(Runtime::FunctionId function, Node* arg1, Node* arg2, | 745 Node* TailCallRuntime5(Runtime::FunctionId function, Node* arg1, Node* arg2, |
| 746 Node* arg3, Node* arg4, Node* arg5, Node* context); | 746 Node* arg3, Node* arg4, Node* arg5, Node* context); |
| 747 // Tail call to a runtime function with six arguments. |
| 748 Node* TailCallRuntime6(Runtime::FunctionId function, Node* arg1, Node* arg2, |
| 749 Node* arg3, Node* arg4, Node* arg5, Node* arg6, |
| 750 Node* context); |
| 747 | 751 |
| 748 // =========================================================================== | 752 // =========================================================================== |
| 749 // The following utility methods deal with control flow, hence might switch | 753 // The following utility methods deal with control flow, hence might switch |
| 750 // the current basic block or create new basic blocks for labels. | 754 // the current basic block or create new basic blocks for labels. |
| 751 | 755 |
| 752 // Control flow. | 756 // Control flow. |
| 753 void Goto(RawMachineLabel* label); | 757 void Goto(RawMachineLabel* label); |
| 754 void Branch(Node* condition, RawMachineLabel* true_val, | 758 void Branch(Node* condition, RawMachineLabel* true_val, |
| 755 RawMachineLabel* false_val); | 759 RawMachineLabel* false_val); |
| 756 void Switch(Node* index, RawMachineLabel* default_label, | 760 void Switch(Node* index, RawMachineLabel* default_label, |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 836 bool deferred_; | 840 bool deferred_; |
| 837 friend class RawMachineAssembler; | 841 friend class RawMachineAssembler; |
| 838 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); | 842 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); |
| 839 }; | 843 }; |
| 840 | 844 |
| 841 } // namespace compiler | 845 } // namespace compiler |
| 842 } // namespace internal | 846 } // namespace internal |
| 843 } // namespace v8 | 847 } // namespace v8 |
| 844 | 848 |
| 845 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ | 849 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ |
| OLD | NEW |