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

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

Issue 1412443003: [turbofan] Introduce lazy bailout, masked as a call. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Enable test Created 5 years, 2 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/compiler/machine-type.h" 9 #include "src/compiler/machine-type.h"
10 #include "src/zone-containers.h" 10 #include "src/zone-containers.h"
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 const Operator* BeginRegion(); 148 const Operator* BeginRegion();
149 const Operator* FinishRegion(); 149 const Operator* FinishRegion();
150 const Operator* StateValues(int arguments); 150 const Operator* StateValues(int arguments);
151 const Operator* TypedStateValues(const ZoneVector<MachineType>* types); 151 const Operator* TypedStateValues(const ZoneVector<MachineType>* types);
152 const Operator* FrameState(BailoutId bailout_id, 152 const Operator* FrameState(BailoutId bailout_id,
153 OutputFrameStateCombine state_combine, 153 OutputFrameStateCombine state_combine,
154 const FrameStateFunctionInfo* function_info); 154 const FrameStateFunctionInfo* function_info);
155 const Operator* Call(const CallDescriptor* descriptor); 155 const Operator* Call(const CallDescriptor* descriptor);
156 const Operator* TailCall(const CallDescriptor* descriptor); 156 const Operator* TailCall(const CallDescriptor* descriptor);
157 const Operator* Projection(size_t index); 157 const Operator* Projection(size_t index);
158 const Operator* LazyBailout();
158 159
159 // Constructs a new merge or phi operator with the same opcode as {op}, but 160 // Constructs a new merge or phi operator with the same opcode as {op}, but
160 // with {size} inputs. 161 // with {size} inputs.
161 const Operator* ResizeMergeOrPhi(const Operator* op, int size); 162 const Operator* ResizeMergeOrPhi(const Operator* op, int size);
162 163
163 // Constructs function info for frame state construction. 164 // Constructs function info for frame state construction.
164 const FrameStateFunctionInfo* CreateFrameStateFunctionInfo( 165 const FrameStateFunctionInfo* CreateFrameStateFunctionInfo(
165 FrameStateType type, int parameter_count, int local_count, 166 FrameStateType type, int parameter_count, int local_count,
166 Handle<SharedFunctionInfo> shared_info, 167 Handle<SharedFunctionInfo> shared_info,
167 ContextCallingMode context_calling_mode); 168 ContextCallingMode context_calling_mode);
168 169
169 private: 170 private:
170 Zone* zone() const { return zone_; } 171 Zone* zone() const { return zone_; }
171 172
172 const CommonOperatorGlobalCache& cache_; 173 const CommonOperatorGlobalCache& cache_;
173 Zone* const zone_; 174 Zone* const zone_;
174 175
175 DISALLOW_COPY_AND_ASSIGN(CommonOperatorBuilder); 176 DISALLOW_COPY_AND_ASSIGN(CommonOperatorBuilder);
176 }; 177 };
177 178
178 } // namespace compiler 179 } // namespace compiler
179 } // namespace internal 180 } // namespace internal
180 } // namespace v8 181 } // namespace v8
181 182
182 #endif // V8_COMPILER_COMMON_OPERATOR_H_ 183 #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