| 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 CallDescriptor* Linkage::GetRuntimeCallDescriptor( | 57 CallDescriptor* Linkage::GetRuntimeCallDescriptor( |
| 58 Runtime::FunctionId function, int parameter_count, | 58 Runtime::FunctionId function, int parameter_count, |
| 59 Operator::Property properties, | 59 Operator::Property properties, |
| 60 CallDescriptor::DeoptimizationSupport can_deoptimize, Zone* zone) { | 60 CallDescriptor::DeoptimizationSupport can_deoptimize, Zone* zone) { |
| 61 return LinkageHelper::GetRuntimeCallDescriptor<LinkageHelperTraits>( | 61 return LinkageHelper::GetRuntimeCallDescriptor<LinkageHelperTraits>( |
| 62 zone, function, parameter_count, properties, can_deoptimize); | 62 zone, function, parameter_count, properties, can_deoptimize); |
| 63 } | 63 } |
| 64 | 64 |
| 65 | 65 |
| 66 CallDescriptor* Linkage::GetStubCallDescriptor( | 66 CallDescriptor* Linkage::GetStubCallDescriptor( |
| 67 CodeStubInterfaceDescriptor* descriptor, int stack_parameter_count) { | 67 CodeStubInterfaceDescriptor* descriptor, int stack_parameter_count, |
| 68 CallDescriptor::DeoptimizationSupport can_deoptimize, Zone* zone) { |
| 68 return LinkageHelper::GetStubCallDescriptor<LinkageHelperTraits>( | 69 return LinkageHelper::GetStubCallDescriptor<LinkageHelperTraits>( |
| 69 this->info_->zone(), descriptor, stack_parameter_count); | 70 zone, descriptor, stack_parameter_count, can_deoptimize); |
| 70 } | 71 } |
| 71 | 72 |
| 72 | 73 |
| 73 CallDescriptor* Linkage::GetSimplifiedCDescriptor( | 74 CallDescriptor* Linkage::GetSimplifiedCDescriptor( |
| 74 Zone* zone, int num_params, MachineRepresentation return_type, | 75 Zone* zone, int num_params, MachineRepresentation return_type, |
| 75 const MachineRepresentation* param_types) { | 76 const MachineRepresentation* param_types) { |
| 76 return LinkageHelper::GetSimplifiedCDescriptor<LinkageHelperTraits>( | 77 return LinkageHelper::GetSimplifiedCDescriptor<LinkageHelperTraits>( |
| 77 zone, num_params, return_type, param_types); | 78 zone, num_params, return_type, param_types); |
| 78 } | 79 } |
| 79 | 80 |
| 80 } | 81 } |
| 81 } | 82 } |
| 82 } // namespace v8::internal::compiler | 83 } // namespace v8::internal::compiler |
| OLD | NEW |