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/compiler/linkage.h" | 5 #include "src/compiler/linkage.h" |
6 | 6 |
7 #include "src/code-stubs.h" | 7 #include "src/code-stubs.h" |
8 #include "src/compiler.h" | 8 #include "src/compiler.h" |
9 #include "src/compiler/node.h" | 9 #include "src/compiler/node.h" |
10 #include "src/compiler/pipeline.h" | 10 #include "src/compiler/pipeline.h" |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 | 95 |
96 CallDescriptor* Linkage::GetRuntimeCallDescriptor( | 96 CallDescriptor* Linkage::GetRuntimeCallDescriptor( |
97 Runtime::FunctionId function, int parameter_count, | 97 Runtime::FunctionId function, int parameter_count, |
98 Operator::Property properties, | 98 Operator::Property properties, |
99 CallDescriptor::DeoptimizationSupport can_deoptimize) { | 99 CallDescriptor::DeoptimizationSupport can_deoptimize) { |
100 return GetRuntimeCallDescriptor(function, parameter_count, properties, | 100 return GetRuntimeCallDescriptor(function, parameter_count, properties, |
101 can_deoptimize, this->info_->zone()); | 101 can_deoptimize, this->info_->zone()); |
102 } | 102 } |
103 | 103 |
104 | 104 |
105 CallDescriptor* Linkage::GetStubCallDescriptor( | |
106 CodeStubInterfaceDescriptor* descriptor, int stack_parameter_count, | |
107 CallDescriptor::DeoptimizationSupport can_deoptimize) { | |
108 return GetStubCallDescriptor(descriptor, stack_parameter_count, | |
109 can_deoptimize, this->info_->zone()); | |
110 } | |
111 | |
112 | |
113 //============================================================================== | 105 //============================================================================== |
114 // Provide unimplemented methods on unsupported architectures, to at least link. | 106 // Provide unimplemented methods on unsupported architectures, to at least link. |
115 //============================================================================== | 107 //============================================================================== |
116 #if !V8_TURBOFAN_BACKEND | 108 #if !V8_TURBOFAN_BACKEND |
117 CallDescriptor* Linkage::GetJSCallDescriptor(int parameter_count, Zone* zone) { | 109 CallDescriptor* Linkage::GetJSCallDescriptor(int parameter_count, Zone* zone) { |
118 UNIMPLEMENTED(); | 110 UNIMPLEMENTED(); |
119 return NULL; | 111 return NULL; |
120 } | 112 } |
121 | 113 |
122 | 114 |
123 CallDescriptor* Linkage::GetRuntimeCallDescriptor( | 115 CallDescriptor* Linkage::GetRuntimeCallDescriptor( |
124 Runtime::FunctionId function, int parameter_count, | 116 Runtime::FunctionId function, int parameter_count, |
125 Operator::Property properties, | 117 Operator::Property properties, |
126 CallDescriptor::DeoptimizationSupport can_deoptimize, Zone* zone) { | 118 CallDescriptor::DeoptimizationSupport can_deoptimize, Zone* zone) { |
127 UNIMPLEMENTED(); | 119 UNIMPLEMENTED(); |
128 return NULL; | 120 return NULL; |
129 } | 121 } |
130 | 122 |
131 | 123 |
132 CallDescriptor* Linkage::GetStubCallDescriptor( | 124 CallDescriptor* Linkage::GetStubCallDescriptor( |
133 CodeStubInterfaceDescriptor* descriptor, int stack_parameter_count, | 125 CodeStubInterfaceDescriptor* descriptor, int stack_parameter_count) { |
134 CallDescriptor::DeoptimizationSupport can_deoptimize, Zone* zone) { | |
135 UNIMPLEMENTED(); | 126 UNIMPLEMENTED(); |
136 return NULL; | 127 return NULL; |
137 } | 128 } |
138 | 129 |
139 | 130 |
140 CallDescriptor* Linkage::GetSimplifiedCDescriptor( | 131 CallDescriptor* Linkage::GetSimplifiedCDescriptor( |
141 Zone* zone, int num_params, MachineRepresentation return_type, | 132 Zone* zone, int num_params, MachineRepresentation return_type, |
142 const MachineRepresentation* param_types) { | 133 const MachineRepresentation* param_types) { |
143 UNIMPLEMENTED(); | 134 UNIMPLEMENTED(); |
144 return NULL; | 135 return NULL; |
145 } | 136 } |
146 #endif // !V8_TURBOFAN_BACKEND | 137 #endif // !V8_TURBOFAN_BACKEND |
147 } | 138 } |
148 } | 139 } |
149 } // namespace v8::internal::compiler | 140 } // namespace v8::internal::compiler |
OLD | NEW |