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

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

Issue 526953004: Lazy deoptimization for comparisons in Turbofan. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review comments Created 6 years, 3 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 return FrameOffset::FromStackPointer(offset); 86 return FrameOffset::FromStackPointer(offset);
87 } 87 }
88 } 88 }
89 89
90 90
91 CallDescriptor* Linkage::GetJSCallDescriptor(int parameter_count) { 91 CallDescriptor* Linkage::GetJSCallDescriptor(int parameter_count) {
92 return GetJSCallDescriptor(parameter_count, this->info_->zone()); 92 return GetJSCallDescriptor(parameter_count, this->info_->zone());
93 } 93 }
94 94
95 95
96 CallDescriptor* Linkage::GetRuntimeCallDescriptor(Runtime::FunctionId function, 96 CallDescriptor* Linkage::GetRuntimeCallDescriptor(
97 int parameter_count, 97 Runtime::FunctionId function, int parameter_count,
98 Operator::Property properties, 98 Operator::Property properties) {
99 CallDescriptor::Flags flags) { 99 return GetRuntimeCallDescriptor(function, parameter_count, properties,
100 return GetRuntimeCallDescriptor(function, parameter_count, properties, flags,
101 this->info_->zone()); 100 this->info_->zone());
102 } 101 }
103 102
104 103
105 CallDescriptor* Linkage::GetStubCallDescriptor( 104 CallDescriptor* Linkage::GetStubCallDescriptor(
106 CodeStubInterfaceDescriptor* descriptor, int stack_parameter_count, 105 CodeStubInterfaceDescriptor* descriptor, int stack_parameter_count,
107 CallDescriptor::Flags flags) { 106 CallDescriptor::Flags flags) {
108 return GetStubCallDescriptor(descriptor, stack_parameter_count, flags, 107 return GetStubCallDescriptor(descriptor, stack_parameter_count, flags,
109 this->info_->zone()); 108 this->info_->zone());
110 } 109 }
111 110
112 111
113 //============================================================================== 112 //==============================================================================
114 // Provide unimplemented methods on unsupported architectures, to at least link. 113 // Provide unimplemented methods on unsupported architectures, to at least link.
115 //============================================================================== 114 //==============================================================================
116 #if !V8_TURBOFAN_BACKEND 115 #if !V8_TURBOFAN_BACKEND
117 CallDescriptor* Linkage::GetJSCallDescriptor(int parameter_count, Zone* zone) { 116 CallDescriptor* Linkage::GetJSCallDescriptor(int parameter_count, Zone* zone) {
118 UNIMPLEMENTED(); 117 UNIMPLEMENTED();
119 return NULL; 118 return NULL;
120 } 119 }
121 120
122 121
123 CallDescriptor* Linkage::GetRuntimeCallDescriptor(Runtime::FunctionId function, 122 CallDescriptor* Linkage::GetRuntimeCallDescriptor(Runtime::FunctionId function,
124 int parameter_count, 123 int parameter_count,
125 Operator::Property properties, 124 Operator::Property properties,
126 CallDescriptor::Flags flags,
127 Zone* zone) { 125 Zone* zone) {
128 UNIMPLEMENTED(); 126 UNIMPLEMENTED();
129 return NULL; 127 return NULL;
130 } 128 }
131 129
132 130
133 CallDescriptor* Linkage::GetStubCallDescriptor( 131 CallDescriptor* Linkage::GetStubCallDescriptor(
134 CodeStubInterfaceDescriptor* descriptor, int stack_parameter_count, 132 CodeStubInterfaceDescriptor* descriptor, int stack_parameter_count,
135 CallDescriptor::Flags flags, Zone* zone) { 133 CallDescriptor::Flags flags, Zone* zone) {
136 UNIMPLEMENTED(); 134 UNIMPLEMENTED();
137 return NULL; 135 return NULL;
138 } 136 }
139 137
140 138
141 CallDescriptor* Linkage::GetSimplifiedCDescriptor( 139 CallDescriptor* Linkage::GetSimplifiedCDescriptor(
142 Zone* zone, int num_params, MachineType return_type, 140 Zone* zone, int num_params, MachineType return_type,
143 const MachineType* param_types) { 141 const MachineType* param_types) {
144 UNIMPLEMENTED(); 142 UNIMPLEMENTED();
145 return NULL; 143 return NULL;
146 } 144 }
147 #endif // !V8_TURBOFAN_BACKEND 145 #endif // !V8_TURBOFAN_BACKEND
148 } 146 }
149 } 147 }
150 } // namespace v8::internal::compiler 148 } // 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