OLD | NEW |
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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 const Operator* HeapConstant(const Handle<HeapObject>&); | 146 const Operator* HeapConstant(const Handle<HeapObject>&); |
147 | 147 |
148 const Operator* Select(MachineType, BranchHint = BranchHint::kNone); | 148 const Operator* Select(MachineType, BranchHint = BranchHint::kNone); |
149 const Operator* Phi(MachineType type, int value_input_count); | 149 const Operator* Phi(MachineType type, int value_input_count); |
150 const Operator* EffectPhi(int effect_input_count); | 150 const Operator* EffectPhi(int effect_input_count); |
151 const Operator* EffectSet(int arguments); | 151 const Operator* EffectSet(int arguments); |
152 const Operator* Guard(Type* type); | 152 const Operator* Guard(Type* type); |
153 const Operator* BeginRegion(); | 153 const Operator* BeginRegion(); |
154 const Operator* FinishRegion(); | 154 const Operator* FinishRegion(); |
155 const Operator* StateValues(int arguments); | 155 const Operator* StateValues(int arguments); |
| 156 const Operator* ObjectState(int pointer_slots, int id); |
156 const Operator* TypedStateValues(const ZoneVector<MachineType>* types); | 157 const Operator* TypedStateValues(const ZoneVector<MachineType>* types); |
157 const Operator* FrameState(BailoutId bailout_id, | 158 const Operator* FrameState(BailoutId bailout_id, |
158 OutputFrameStateCombine state_combine, | 159 OutputFrameStateCombine state_combine, |
159 const FrameStateFunctionInfo* function_info); | 160 const FrameStateFunctionInfo* function_info); |
160 const Operator* Call(const CallDescriptor* descriptor); | 161 const Operator* Call(const CallDescriptor* descriptor); |
161 const Operator* TailCall(const CallDescriptor* descriptor); | 162 const Operator* TailCall(const CallDescriptor* descriptor); |
162 const Operator* Projection(size_t index); | 163 const Operator* Projection(size_t index); |
163 const Operator* LazyBailout(); | 164 const Operator* LazyBailout(); |
164 | 165 |
165 // Constructs a new merge or phi operator with the same opcode as {op}, but | 166 // Constructs a new merge or phi operator with the same opcode as {op}, but |
(...skipping 13 matching lines...) Expand all Loading... |
179 Zone* const zone_; | 180 Zone* const zone_; |
180 | 181 |
181 DISALLOW_COPY_AND_ASSIGN(CommonOperatorBuilder); | 182 DISALLOW_COPY_AND_ASSIGN(CommonOperatorBuilder); |
182 }; | 183 }; |
183 | 184 |
184 } // namespace compiler | 185 } // namespace compiler |
185 } // namespace internal | 186 } // namespace internal |
186 } // namespace v8 | 187 } // namespace v8 |
187 | 188 |
188 #endif // V8_COMPILER_COMMON_OPERATOR_H_ | 189 #endif // V8_COMPILER_COMMON_OPERATOR_H_ |
OLD | NEW |