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 604 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
615 Node* CallCFunction8(MachineType return_type, MachineType arg0_type, | 615 Node* CallCFunction8(MachineType return_type, MachineType arg0_type, |
616 MachineType arg1_type, MachineType arg2_type, | 616 MachineType arg1_type, MachineType arg2_type, |
617 MachineType arg3_type, MachineType arg4_type, | 617 MachineType arg3_type, MachineType arg4_type, |
618 MachineType arg5_type, MachineType arg6_type, | 618 MachineType arg5_type, MachineType arg6_type, |
619 MachineType arg7_type, Node* function, Node* arg0, | 619 MachineType arg7_type, Node* function, Node* arg0, |
620 Node* arg1, Node* arg2, Node* arg3, Node* arg4, | 620 Node* arg1, Node* arg2, Node* arg3, Node* arg4, |
621 Node* arg5, Node* arg6, Node* arg7); | 621 Node* arg5, Node* arg6, Node* arg7); |
622 | 622 |
623 // Tail call the given call descriptor and the given arguments. | 623 // Tail call the given call descriptor and the given arguments. |
624 Node* TailCallN(CallDescriptor* call_descriptor, Node* function, Node** args); | 624 Node* TailCallN(CallDescriptor* call_descriptor, Node* function, Node** args); |
| 625 // Tail call to a runtime function with zero arguments. |
| 626 Node* TailCallRuntime0(Runtime::FunctionId function, Node* context); |
625 // Tail call to a runtime function with one argument. | 627 // Tail call to a runtime function with one argument. |
626 Node* TailCallRuntime1(Runtime::FunctionId function, Node* arg0, | 628 Node* TailCallRuntime1(Runtime::FunctionId function, Node* arg0, |
627 Node* context); | 629 Node* context); |
628 // Tail call to a runtime function with two arguments. | 630 // Tail call to a runtime function with two arguments. |
629 Node* TailCallRuntime2(Runtime::FunctionId function, Node* arg1, Node* arg2, | 631 Node* TailCallRuntime2(Runtime::FunctionId function, Node* arg1, Node* arg2, |
630 Node* context); | 632 Node* context); |
631 // Tail call to a runtime function with three arguments. | 633 // Tail call to a runtime function with three arguments. |
632 Node* TailCallRuntime3(Runtime::FunctionId function, Node* arg1, Node* arg2, | 634 Node* TailCallRuntime3(Runtime::FunctionId function, Node* arg1, Node* arg2, |
633 Node* arg3, Node* context); | 635 Node* arg3, Node* context); |
634 // Tail call to a runtime function with four arguments. | 636 // Tail call to a runtime function with four arguments. |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
717 bool bound_; | 719 bool bound_; |
718 friend class RawMachineAssembler; | 720 friend class RawMachineAssembler; |
719 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); | 721 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); |
720 }; | 722 }; |
721 | 723 |
722 } // namespace compiler | 724 } // namespace compiler |
723 } // namespace internal | 725 } // namespace internal |
724 } // namespace v8 | 726 } // namespace v8 |
725 | 727 |
726 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ | 728 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ |
OLD | NEW |