| 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/machine-type.h" | 9 #include "src/machine-type.h" |
| 10 #include "src/zone-containers.h" | 10 #include "src/zone-containers.h" |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 | 159 |
| 160 const Operator* Select(MachineRepresentation, BranchHint = BranchHint::kNone); | 160 const Operator* Select(MachineRepresentation, BranchHint = BranchHint::kNone); |
| 161 const Operator* Phi(MachineRepresentation representation, | 161 const Operator* Phi(MachineRepresentation representation, |
| 162 int value_input_count); | 162 int value_input_count); |
| 163 const Operator* EffectPhi(int effect_input_count); | 163 const Operator* EffectPhi(int effect_input_count); |
| 164 const Operator* EffectSet(int arguments); | 164 const Operator* EffectSet(int arguments); |
| 165 const Operator* Guard(Type* type); | 165 const Operator* Guard(Type* type); |
| 166 const Operator* BeginRegion(); | 166 const Operator* BeginRegion(); |
| 167 const Operator* FinishRegion(); | 167 const Operator* FinishRegion(); |
| 168 const Operator* StateValues(int arguments); | 168 const Operator* StateValues(int arguments); |
| 169 const Operator* ObjectState(int pointer_slots, int id); |
| 169 const Operator* TypedStateValues(const ZoneVector<MachineType>* types); | 170 const Operator* TypedStateValues(const ZoneVector<MachineType>* types); |
| 170 const Operator* FrameState(BailoutId bailout_id, | 171 const Operator* FrameState(BailoutId bailout_id, |
| 171 OutputFrameStateCombine state_combine, | 172 OutputFrameStateCombine state_combine, |
| 172 const FrameStateFunctionInfo* function_info); | 173 const FrameStateFunctionInfo* function_info); |
| 173 const Operator* Call(const CallDescriptor* descriptor); | 174 const Operator* Call(const CallDescriptor* descriptor); |
| 174 const Operator* TailCall(const CallDescriptor* descriptor); | 175 const Operator* TailCall(const CallDescriptor* descriptor); |
| 175 const Operator* Projection(size_t index); | 176 const Operator* Projection(size_t index); |
| 176 const Operator* LazyBailout(); | 177 const Operator* LazyBailout(); |
| 177 | 178 |
| 178 // Constructs a new merge or phi operator with the same opcode as {op}, but | 179 // Constructs a new merge or phi operator with the same opcode as {op}, but |
| (...skipping 13 matching lines...) Expand all Loading... |
| 192 Zone* const zone_; | 193 Zone* const zone_; |
| 193 | 194 |
| 194 DISALLOW_COPY_AND_ASSIGN(CommonOperatorBuilder); | 195 DISALLOW_COPY_AND_ASSIGN(CommonOperatorBuilder); |
| 195 }; | 196 }; |
| 196 | 197 |
| 197 } // namespace compiler | 198 } // namespace compiler |
| 198 } // namespace internal | 199 } // namespace internal |
| 199 } // namespace v8 | 200 } // namespace v8 |
| 200 | 201 |
| 201 #endif // V8_COMPILER_COMMON_OPERATOR_H_ | 202 #endif // V8_COMPILER_COMMON_OPERATOR_H_ |
| OLD | NEW |