| 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 691 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 702 template V8_EXPORT_PRIVATE Node* CodeAssembler::TailCallBytecodeDispatch( | 702 template V8_EXPORT_PRIVATE Node* CodeAssembler::TailCallBytecodeDispatch( |
| 703 const CallInterfaceDescriptor& descriptor, Node* target, Node*, Node*, | 703 const CallInterfaceDescriptor& descriptor, Node* target, Node*, Node*, |
| 704 Node*, Node*); | 704 Node*, Node*); |
| 705 | 705 |
| 706 Node* CodeAssembler::CallCFunctionN(Signature<MachineType>* signature, | 706 Node* CodeAssembler::CallCFunctionN(Signature<MachineType>* signature, |
| 707 int input_count, Node* const* inputs) { | 707 int input_count, Node* const* inputs) { |
| 708 CallDescriptor* desc = Linkage::GetSimplifiedCDescriptor(zone(), signature); | 708 CallDescriptor* desc = Linkage::GetSimplifiedCDescriptor(zone(), signature); |
| 709 return raw_assembler()->CallN(desc, input_count, inputs); | 709 return raw_assembler()->CallN(desc, input_count, inputs); |
| 710 } | 710 } |
| 711 | 711 |
| 712 Node* CodeAssembler::CallCFunction1(MachineType return_type, |
| 713 MachineType arg0_type, Node* function, |
| 714 Node* arg0) { |
| 715 return raw_assembler()->CallCFunction1(return_type, arg0_type, function, |
| 716 arg0); |
| 717 } |
| 718 |
| 712 Node* CodeAssembler::CallCFunction2(MachineType return_type, | 719 Node* CodeAssembler::CallCFunction2(MachineType return_type, |
| 713 MachineType arg0_type, | 720 MachineType arg0_type, |
| 714 MachineType arg1_type, Node* function, | 721 MachineType arg1_type, Node* function, |
| 715 Node* arg0, Node* arg1) { | 722 Node* arg0, Node* arg1) { |
| 716 return raw_assembler()->CallCFunction2(return_type, arg0_type, arg1_type, | 723 return raw_assembler()->CallCFunction2(return_type, arg0_type, arg1_type, |
| 717 function, arg0, arg1); | 724 function, arg0, arg1); |
| 718 } | 725 } |
| 719 | 726 |
| 720 Node* CodeAssembler::CallCFunction3(MachineType return_type, | 727 Node* CodeAssembler::CallCFunction3(MachineType return_type, |
| 721 MachineType arg0_type, | 728 MachineType arg0_type, |
| (...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1029 } | 1036 } |
| 1030 } | 1037 } |
| 1031 } | 1038 } |
| 1032 | 1039 |
| 1033 bound_ = true; | 1040 bound_ = true; |
| 1034 } | 1041 } |
| 1035 | 1042 |
| 1036 } // namespace compiler | 1043 } // namespace compiler |
| 1037 } // namespace internal | 1044 } // namespace internal |
| 1038 } // namespace v8 | 1045 } // namespace v8 |
| OLD | NEW |