OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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 #include "src/compiler/code-assembler.h" | 5 #include "src/compiler/code-assembler.h" |
6 | 6 |
7 #include <ostream> | 7 #include <ostream> |
8 | 8 |
9 #include "src/code-factory.h" | 9 #include "src/code-factory.h" |
10 #include "src/compiler/graph.h" | 10 #include "src/compiler/graph.h" |
(...skipping 725 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
736 Node* CodeAssembler::CallCFunction6( | 736 Node* CodeAssembler::CallCFunction6( |
737 MachineType return_type, MachineType arg0_type, MachineType arg1_type, | 737 MachineType return_type, MachineType arg0_type, MachineType arg1_type, |
738 MachineType arg2_type, MachineType arg3_type, MachineType arg4_type, | 738 MachineType arg2_type, MachineType arg3_type, MachineType arg4_type, |
739 MachineType arg5_type, Node* function, Node* arg0, Node* arg1, Node* arg2, | 739 MachineType arg5_type, Node* function, Node* arg0, Node* arg1, Node* arg2, |
740 Node* arg3, Node* arg4, Node* arg5) { | 740 Node* arg3, Node* arg4, Node* arg5) { |
741 return raw_assembler()->CallCFunction6( | 741 return raw_assembler()->CallCFunction6( |
742 return_type, arg0_type, arg1_type, arg2_type, arg3_type, arg4_type, | 742 return_type, arg0_type, arg1_type, arg2_type, arg3_type, arg4_type, |
743 arg5_type, function, arg0, arg1, arg2, arg3, arg4, arg5); | 743 arg5_type, function, arg0, arg1, arg2, arg3, arg4, arg5); |
744 } | 744 } |
745 | 745 |
746 Node* CodeAssembler::CallCFunction9( | |
747 MachineType return_type, MachineType arg0_type, MachineType arg1_type, | |
748 MachineType arg2_type, MachineType arg3_type, MachineType arg4_type, | |
749 MachineType arg5_type, MachineType arg6_type, MachineType arg7_type, | |
750 MachineType arg8_type, Node* function, Node* arg0, Node* arg1, Node* arg2, | |
751 Node* arg3, Node* arg4, Node* arg5, Node* arg6, Node* arg7, Node* arg8) { | |
752 return raw_assembler()->CallCFunction9( | |
753 return_type, arg0_type, arg1_type, arg2_type, arg3_type, arg4_type, | |
754 arg5_type, arg6_type, arg7_type, arg8_type, function, arg0, arg1, arg2, | |
755 arg3, arg4, arg5, arg6, arg7, arg8); | |
756 } | |
757 | |
758 void CodeAssembler::Goto(Label* label) { | 746 void CodeAssembler::Goto(Label* label) { |
759 label->MergeVariables(); | 747 label->MergeVariables(); |
760 raw_assembler()->Goto(label->label_); | 748 raw_assembler()->Goto(label->label_); |
761 } | 749 } |
762 | 750 |
763 void CodeAssembler::GotoIf(Node* condition, Label* true_label) { | 751 void CodeAssembler::GotoIf(Node* condition, Label* true_label) { |
764 Label false_label(this); | 752 Label false_label(this); |
765 Branch(condition, true_label, &false_label); | 753 Branch(condition, true_label, &false_label); |
766 Bind(&false_label); | 754 Bind(&false_label); |
767 } | 755 } |
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1058 } | 1046 } |
1059 } | 1047 } |
1060 } | 1048 } |
1061 | 1049 |
1062 bound_ = true; | 1050 bound_ = true; |
1063 } | 1051 } |
1064 | 1052 |
1065 } // namespace compiler | 1053 } // namespace compiler |
1066 } // namespace internal | 1054 } // namespace internal |
1067 } // namespace v8 | 1055 } // namespace v8 |
OLD | NEW |