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 #include "src/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #include "src/assembler.h" | 7 #include "src/assembler.h" |
8 #include "src/code-stubs.h" | 8 #include "src/code-stubs.h" |
9 #include "src/compiler/linkage.h" | 9 #include "src/compiler/linkage.h" |
10 #include "src/compiler/linkage-impl.h" | 10 #include "src/compiler/linkage-impl.h" |
(...skipping 24 matching lines...) Expand all Loading... |
35 | 35 |
36 CallDescriptor* Linkage::GetJSCallDescriptor(int parameter_count, Zone* zone) { | 36 CallDescriptor* Linkage::GetJSCallDescriptor(int parameter_count, Zone* zone) { |
37 return LinkageHelper::GetJSCallDescriptor<LinkageHelperTraits>( | 37 return LinkageHelper::GetJSCallDescriptor<LinkageHelperTraits>( |
38 zone, parameter_count); | 38 zone, parameter_count); |
39 } | 39 } |
40 | 40 |
41 | 41 |
42 CallDescriptor* Linkage::GetRuntimeCallDescriptor(Runtime::FunctionId function, | 42 CallDescriptor* Linkage::GetRuntimeCallDescriptor(Runtime::FunctionId function, |
43 int parameter_count, | 43 int parameter_count, |
44 Operator::Property properties, | 44 Operator::Property properties, |
45 CallDescriptor::Flags flags, | |
46 Zone* zone) { | 45 Zone* zone) { |
47 return LinkageHelper::GetRuntimeCallDescriptor<LinkageHelperTraits>( | 46 return LinkageHelper::GetRuntimeCallDescriptor<LinkageHelperTraits>( |
48 zone, function, parameter_count, properties, flags); | 47 zone, function, parameter_count, properties); |
49 } | 48 } |
50 | 49 |
51 | 50 |
52 CallDescriptor* Linkage::GetStubCallDescriptor( | 51 CallDescriptor* Linkage::GetStubCallDescriptor( |
53 CodeStubInterfaceDescriptor* descriptor, int stack_parameter_count, | 52 CodeStubInterfaceDescriptor* descriptor, int stack_parameter_count, |
54 CallDescriptor::Flags flags, Zone* zone) { | 53 CallDescriptor::Flags flags, Zone* zone) { |
55 return LinkageHelper::GetStubCallDescriptor<LinkageHelperTraits>( | 54 return LinkageHelper::GetStubCallDescriptor<LinkageHelperTraits>( |
56 zone, descriptor, stack_parameter_count, flags); | 55 zone, descriptor, stack_parameter_count, flags); |
57 } | 56 } |
58 | 57 |
59 | 58 |
60 CallDescriptor* Linkage::GetSimplifiedCDescriptor( | 59 CallDescriptor* Linkage::GetSimplifiedCDescriptor( |
61 Zone* zone, int num_params, MachineType return_type, | 60 Zone* zone, int num_params, MachineType return_type, |
62 const MachineType* param_types) { | 61 const MachineType* param_types) { |
63 return LinkageHelper::GetSimplifiedCDescriptor<LinkageHelperTraits>( | 62 return LinkageHelper::GetSimplifiedCDescriptor<LinkageHelperTraits>( |
64 zone, num_params, return_type, param_types); | 63 zone, num_params, return_type, param_types); |
65 } | 64 } |
66 } | 65 } |
67 } | 66 } |
68 } // namespace v8::internal::compiler | 67 } // namespace v8::internal::compiler |
OLD | NEW |