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 20 matching lines...) Expand all Loading... |
31 | 31 |
32 CallDescriptor* Linkage::GetJSCallDescriptor(int parameter_count, Zone* zone) { | 32 CallDescriptor* Linkage::GetJSCallDescriptor(int parameter_count, Zone* zone) { |
33 return LinkageHelper::GetJSCallDescriptor<LinkageHelperTraits>( | 33 return LinkageHelper::GetJSCallDescriptor<LinkageHelperTraits>( |
34 zone, parameter_count); | 34 zone, parameter_count); |
35 } | 35 } |
36 | 36 |
37 | 37 |
38 CallDescriptor* Linkage::GetRuntimeCallDescriptor(Runtime::FunctionId function, | 38 CallDescriptor* Linkage::GetRuntimeCallDescriptor(Runtime::FunctionId function, |
39 int parameter_count, | 39 int parameter_count, |
40 Operator::Property properties, | 40 Operator::Property properties, |
41 CallDescriptor::Flags flags, | |
42 Zone* zone) { | 41 Zone* zone) { |
43 return LinkageHelper::GetRuntimeCallDescriptor<LinkageHelperTraits>( | 42 return LinkageHelper::GetRuntimeCallDescriptor<LinkageHelperTraits>( |
44 zone, function, parameter_count, properties, flags); | 43 zone, function, parameter_count, properties); |
45 } | 44 } |
46 | 45 |
47 | 46 |
48 CallDescriptor* Linkage::GetStubCallDescriptor( | 47 CallDescriptor* Linkage::GetStubCallDescriptor( |
49 CodeStubInterfaceDescriptor* descriptor, int stack_parameter_count, | 48 CodeStubInterfaceDescriptor* descriptor, int stack_parameter_count, |
50 CallDescriptor::Flags flags, Zone* zone) { | 49 CallDescriptor::Flags flags, Zone* zone) { |
51 return LinkageHelper::GetStubCallDescriptor<LinkageHelperTraits>( | 50 return LinkageHelper::GetStubCallDescriptor<LinkageHelperTraits>( |
52 zone, descriptor, stack_parameter_count, flags); | 51 zone, descriptor, stack_parameter_count, flags); |
53 } | 52 } |
54 | 53 |
55 | 54 |
56 CallDescriptor* Linkage::GetSimplifiedCDescriptor( | 55 CallDescriptor* Linkage::GetSimplifiedCDescriptor( |
57 Zone* zone, int num_params, MachineType return_type, | 56 Zone* zone, int num_params, MachineType return_type, |
58 const MachineType* param_types) { | 57 const MachineType* param_types) { |
59 return LinkageHelper::GetSimplifiedCDescriptor<LinkageHelperTraits>( | 58 return LinkageHelper::GetSimplifiedCDescriptor<LinkageHelperTraits>( |
60 zone, num_params, return_type, param_types); | 59 zone, num_params, return_type, param_types); |
61 } | 60 } |
62 | 61 |
63 } // namespace compiler | 62 } // namespace compiler |
64 } // namespace internal | 63 } // namespace internal |
65 } // namespace v8 | 64 } // namespace v8 |
OLD | NEW |