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