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

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

Issue 444883006: Initial shot at deoptimizing JSCallFunction in Turbofan. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Remove debug print Created 6 years, 4 months 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
« no previous file with comments | « src/compiler/linkage.h ('k') | src/compiler/linkage-impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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" 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
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
105 //============================================================================== 113 //==============================================================================
106 // Provide unimplemented methods on unsupported architectures, to at least link. 114 // Provide unimplemented methods on unsupported architectures, to at least link.
107 //============================================================================== 115 //==============================================================================
108 #if !V8_TURBOFAN_BACKEND 116 #if !V8_TURBOFAN_BACKEND
109 CallDescriptor* Linkage::GetJSCallDescriptor(int parameter_count, Zone* zone) { 117 CallDescriptor* Linkage::GetJSCallDescriptor(int parameter_count, Zone* zone) {
110 UNIMPLEMENTED(); 118 UNIMPLEMENTED();
111 return NULL; 119 return NULL;
112 } 120 }
113 121
114 122
115 CallDescriptor* Linkage::GetRuntimeCallDescriptor( 123 CallDescriptor* Linkage::GetRuntimeCallDescriptor(
116 Runtime::FunctionId function, int parameter_count, 124 Runtime::FunctionId function, int parameter_count,
117 Operator::Property properties, 125 Operator::Property properties,
118 CallDescriptor::DeoptimizationSupport can_deoptimize, Zone* zone) { 126 CallDescriptor::DeoptimizationSupport can_deoptimize, Zone* zone) {
119 UNIMPLEMENTED(); 127 UNIMPLEMENTED();
120 return NULL; 128 return NULL;
121 } 129 }
122 130
123 131
124 CallDescriptor* Linkage::GetStubCallDescriptor( 132 CallDescriptor* Linkage::GetStubCallDescriptor(
125 CodeStubInterfaceDescriptor* descriptor, int stack_parameter_count) { 133 CodeStubInterfaceDescriptor* descriptor, int stack_parameter_count,
134 CallDescriptor::DeoptimizationSupport can_deoptimize, Zone* zone) {
126 UNIMPLEMENTED(); 135 UNIMPLEMENTED();
127 return NULL; 136 return NULL;
128 } 137 }
129 138
130 139
131 CallDescriptor* Linkage::GetSimplifiedCDescriptor( 140 CallDescriptor* Linkage::GetSimplifiedCDescriptor(
132 Zone* zone, int num_params, MachineRepresentation return_type, 141 Zone* zone, int num_params, MachineRepresentation return_type,
133 const MachineRepresentation* param_types) { 142 const MachineRepresentation* param_types) {
134 UNIMPLEMENTED(); 143 UNIMPLEMENTED();
135 return NULL; 144 return NULL;
136 } 145 }
137 #endif // !V8_TURBOFAN_BACKEND 146 #endif // !V8_TURBOFAN_BACKEND
138 } 147 }
139 } 148 }
140 } // namespace v8::internal::compiler 149 } // namespace v8::internal::compiler
OLDNEW
« no previous file with comments | « src/compiler/linkage.h ('k') | src/compiler/linkage-impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698