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

Side by Side Diff: src/compiler/common-operator.h

Issue 1697503002: [turbofan] Remove support for LazyBailout operators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_trycatch-test-enable
Patch Set: Rebased. Created 4 years, 10 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
« no previous file with comments | « src/compiler/ast-graph-builder.cc ('k') | src/compiler/common-operator.cc » ('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 #ifndef V8_COMPILER_COMMON_OPERATOR_H_ 5 #ifndef V8_COMPILER_COMMON_OPERATOR_H_
6 #define V8_COMPILER_COMMON_OPERATOR_H_ 6 #define V8_COMPILER_COMMON_OPERATOR_H_
7 7
8 #include "src/compiler/frame-states.h" 8 #include "src/compiler/frame-states.h"
9 #include "src/machine-type.h" 9 #include "src/machine-type.h"
10 #include "src/zone-containers.h" 10 #include "src/zone-containers.h"
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 const Operator* FinishRegion(); 163 const Operator* FinishRegion();
164 const Operator* StateValues(int arguments); 164 const Operator* StateValues(int arguments);
165 const Operator* ObjectState(int pointer_slots, int id); 165 const Operator* ObjectState(int pointer_slots, int id);
166 const Operator* TypedStateValues(const ZoneVector<MachineType>* types); 166 const Operator* TypedStateValues(const ZoneVector<MachineType>* types);
167 const Operator* FrameState(BailoutId bailout_id, 167 const Operator* FrameState(BailoutId bailout_id,
168 OutputFrameStateCombine state_combine, 168 OutputFrameStateCombine state_combine,
169 const FrameStateFunctionInfo* function_info); 169 const FrameStateFunctionInfo* function_info);
170 const Operator* Call(const CallDescriptor* descriptor); 170 const Operator* Call(const CallDescriptor* descriptor);
171 const Operator* TailCall(const CallDescriptor* descriptor); 171 const Operator* TailCall(const CallDescriptor* descriptor);
172 const Operator* Projection(size_t index); 172 const Operator* Projection(size_t index);
173 const Operator* LazyBailout();
174 173
175 // Constructs a new merge or phi operator with the same opcode as {op}, but 174 // Constructs a new merge or phi operator with the same opcode as {op}, but
176 // with {size} inputs. 175 // with {size} inputs.
177 const Operator* ResizeMergeOrPhi(const Operator* op, int size); 176 const Operator* ResizeMergeOrPhi(const Operator* op, int size);
178 177
179 // Constructs function info for frame state construction. 178 // Constructs function info for frame state construction.
180 const FrameStateFunctionInfo* CreateFrameStateFunctionInfo( 179 const FrameStateFunctionInfo* CreateFrameStateFunctionInfo(
181 FrameStateType type, int parameter_count, int local_count, 180 FrameStateType type, int parameter_count, int local_count,
182 Handle<SharedFunctionInfo> shared_info, 181 Handle<SharedFunctionInfo> shared_info,
183 ContextCallingMode context_calling_mode); 182 ContextCallingMode context_calling_mode);
184 183
185 private: 184 private:
186 Zone* zone() const { return zone_; } 185 Zone* zone() const { return zone_; }
187 186
188 const CommonOperatorGlobalCache& cache_; 187 const CommonOperatorGlobalCache& cache_;
189 Zone* const zone_; 188 Zone* const zone_;
190 189
191 DISALLOW_COPY_AND_ASSIGN(CommonOperatorBuilder); 190 DISALLOW_COPY_AND_ASSIGN(CommonOperatorBuilder);
192 }; 191 };
193 192
194 } // namespace compiler 193 } // namespace compiler
195 } // namespace internal 194 } // namespace internal
196 } // namespace v8 195 } // namespace v8
197 196
198 #endif // V8_COMPILER_COMMON_OPERATOR_H_ 197 #endif // V8_COMPILER_COMMON_OPERATOR_H_
OLDNEW
« no previous file with comments | « src/compiler/ast-graph-builder.cc ('k') | src/compiler/common-operator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698