Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(344)

Side by Side Diff: src/compiler/linkage.cc

Issue 688633002: [turbofan] add configuration parameters for register allocator (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: rebase Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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"
6
7 #include "src/code-stubs.h" 5 #include "src/code-stubs.h"
8 #include "src/compiler.h" 6 #include "src/compiler.h"
7 #include "src/compiler/linkage.h"
9 #include "src/compiler/node.h" 8 #include "src/compiler/node.h"
10 #include "src/compiler/pipeline.h" 9 #include "src/compiler/pipeline.h"
11 #include "src/scopes.h" 10 #include "src/scopes.h"
12 11
13 namespace v8 { 12 namespace v8 {
14 namespace internal { 13 namespace internal {
15 namespace compiler { 14 namespace compiler {
16 15
17 16
18 std::ostream& operator<<(std::ostream& os, const CallDescriptor::Kind& k) { 17 std::ostream& operator<<(std::ostream& os, const CallDescriptor::Kind& k) {
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 94
96 95
97 CallDescriptor* Linkage::GetRuntimeCallDescriptor( 96 CallDescriptor* Linkage::GetRuntimeCallDescriptor(
98 Runtime::FunctionId function, int parameter_count, 97 Runtime::FunctionId function, int parameter_count,
99 Operator::Properties properties) const { 98 Operator::Properties properties) const {
100 return GetRuntimeCallDescriptor(function, parameter_count, properties, zone_); 99 return GetRuntimeCallDescriptor(function, parameter_count, properties, zone_);
101 } 100 }
102 101
103 102
104 CallDescriptor* Linkage::GetStubCallDescriptor( 103 CallDescriptor* Linkage::GetStubCallDescriptor(
105 CallInterfaceDescriptor descriptor, int stack_parameter_count, 104 const CallInterfaceDescriptor& descriptor, int stack_parameter_count,
106 CallDescriptor::Flags flags) const { 105 CallDescriptor::Flags flags) const {
107 return GetStubCallDescriptor(descriptor, stack_parameter_count, flags, zone_); 106 return GetStubCallDescriptor(descriptor, stack_parameter_count, flags, zone_);
108 } 107 }
109 108
110 109
111 // static 110 // static
112 bool Linkage::NeedsFrameState(Runtime::FunctionId function) { 111 bool Linkage::NeedsFrameState(Runtime::FunctionId function) {
113 if (!FLAG_turbo_deoptimization) { 112 if (!FLAG_turbo_deoptimization) {
114 return false; 113 return false;
115 } 114 }
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 224
226 CallDescriptor* Linkage::GetRuntimeCallDescriptor( 225 CallDescriptor* Linkage::GetRuntimeCallDescriptor(
227 Runtime::FunctionId function, int parameter_count, 226 Runtime::FunctionId function, int parameter_count,
228 Operator::Properties properties, Zone* zone) { 227 Operator::Properties properties, Zone* zone) {
229 UNIMPLEMENTED(); 228 UNIMPLEMENTED();
230 return NULL; 229 return NULL;
231 } 230 }
232 231
233 232
234 CallDescriptor* Linkage::GetStubCallDescriptor( 233 CallDescriptor* Linkage::GetStubCallDescriptor(
235 CallInterfaceDescriptor descriptor, int stack_parameter_count, 234 const CallInterfaceDescriptor& descriptor, int stack_parameter_count,
236 CallDescriptor::Flags flags, Zone* zone) { 235 CallDescriptor::Flags flags, Zone* zone) {
237 UNIMPLEMENTED(); 236 UNIMPLEMENTED();
238 return NULL; 237 return NULL;
239 } 238 }
240 239
241 240
242 CallDescriptor* Linkage::GetSimplifiedCDescriptor(Zone* zone, 241 CallDescriptor* Linkage::GetSimplifiedCDescriptor(Zone* zone,
243 MachineSignature* sig) { 242 MachineSignature* sig) {
244 UNIMPLEMENTED(); 243 UNIMPLEMENTED();
245 return NULL; 244 return NULL;
246 } 245 }
247 #endif // !V8_TURBOFAN_BACKEND 246 #endif // !V8_TURBOFAN_BACKEND
248 } 247 }
249 } 248 }
250 } // namespace v8::internal::compiler 249 } // namespace v8::internal::compiler
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698