| 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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 const Operator* Float32Constant(volatile float); | 138 const Operator* Float32Constant(volatile float); |
| 139 const Operator* Float64Constant(volatile double); | 139 const Operator* Float64Constant(volatile double); |
| 140 const Operator* ExternalConstant(const ExternalReference&); | 140 const Operator* ExternalConstant(const ExternalReference&); |
| 141 const Operator* NumberConstant(volatile double); | 141 const Operator* NumberConstant(volatile double); |
| 142 const Operator* HeapConstant(const Handle<HeapObject>&); | 142 const Operator* HeapConstant(const Handle<HeapObject>&); |
| 143 | 143 |
| 144 const Operator* Select(MachineType, BranchHint = BranchHint::kNone); | 144 const Operator* Select(MachineType, BranchHint = BranchHint::kNone); |
| 145 const Operator* Phi(MachineType type, int value_input_count); | 145 const Operator* Phi(MachineType type, int value_input_count); |
| 146 const Operator* EffectPhi(int effect_input_count); | 146 const Operator* EffectPhi(int effect_input_count); |
| 147 const Operator* EffectSet(int arguments); | 147 const Operator* EffectSet(int arguments); |
| 148 const Operator* ValueEffect(int arguments); | 148 const Operator* BeginRegion(); |
| 149 const Operator* Finish(int arguments); | 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 | 158 |
| 159 // Constructs a new merge or phi operator with the same opcode as {op}, but | 159 // Constructs a new merge or phi operator with the same opcode as {op}, but |
| (...skipping 13 matching lines...) Expand all Loading... |
| 173 Zone* const zone_; | 173 Zone* const zone_; |
| 174 | 174 |
| 175 DISALLOW_COPY_AND_ASSIGN(CommonOperatorBuilder); | 175 DISALLOW_COPY_AND_ASSIGN(CommonOperatorBuilder); |
| 176 }; | 176 }; |
| 177 | 177 |
| 178 } // namespace compiler | 178 } // namespace compiler |
| 179 } // namespace internal | 179 } // namespace internal |
| 180 } // namespace v8 | 180 } // namespace v8 |
| 181 | 181 |
| 182 #endif // V8_COMPILER_COMMON_OPERATOR_H_ | 182 #endif // V8_COMPILER_COMMON_OPERATOR_H_ |
| OLD | NEW |