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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 CallDescriptor* Linkage::GetRuntimeCallDescriptor( | 42 CallDescriptor* Linkage::GetRuntimeCallDescriptor( |
43 Runtime::FunctionId function, int parameter_count, | 43 Runtime::FunctionId function, int parameter_count, |
44 Operator::Property properties, | 44 Operator::Property properties, |
45 CallDescriptor::DeoptimizationSupport can_deoptimize, Zone* zone) { | 45 CallDescriptor::DeoptimizationSupport can_deoptimize, Zone* zone) { |
46 return LinkageHelper::GetRuntimeCallDescriptor<LinkageHelperTraits>( | 46 return LinkageHelper::GetRuntimeCallDescriptor<LinkageHelperTraits>( |
47 zone, function, parameter_count, properties, can_deoptimize); | 47 zone, function, parameter_count, properties, can_deoptimize); |
48 } | 48 } |
49 | 49 |
50 | 50 |
51 CallDescriptor* Linkage::GetStubCallDescriptor( | 51 CallDescriptor* Linkage::GetStubCallDescriptor( |
52 CodeStubInterfaceDescriptor* descriptor, int stack_parameter_count) { | 52 CodeStubInterfaceDescriptor* descriptor, int stack_parameter_count, |
| 53 CallDescriptor::DeoptimizationSupport can_deoptimize, Zone* zone) { |
53 return LinkageHelper::GetStubCallDescriptor<LinkageHelperTraits>( | 54 return LinkageHelper::GetStubCallDescriptor<LinkageHelperTraits>( |
54 this->info_->zone(), descriptor, stack_parameter_count); | 55 zone, descriptor, stack_parameter_count, can_deoptimize); |
55 } | 56 } |
56 | 57 |
57 | 58 |
58 CallDescriptor* Linkage::GetSimplifiedCDescriptor( | 59 CallDescriptor* Linkage::GetSimplifiedCDescriptor( |
59 Zone* zone, int num_params, MachineRepresentation return_type, | 60 Zone* zone, int num_params, MachineRepresentation return_type, |
60 const MachineRepresentation* param_types) { | 61 const MachineRepresentation* param_types) { |
61 return LinkageHelper::GetSimplifiedCDescriptor<LinkageHelperTraits>( | 62 return LinkageHelper::GetSimplifiedCDescriptor<LinkageHelperTraits>( |
62 zone, num_params, return_type, param_types); | 63 zone, num_params, return_type, param_types); |
63 } | 64 } |
64 | 65 |
65 } | 66 } |
66 } | 67 } |
67 } // namespace v8::internal::compiler | 68 } // namespace v8::internal::compiler |
OLD | NEW |