OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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/machine-type.h" | 8 #include "src/compiler/machine-type.h" |
9 #include "src/unique.h" | 9 #include "src/unique.h" |
10 | 10 |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 const Operator* Int32Constant(int32_t); | 104 const Operator* Int32Constant(int32_t); |
105 const Operator* Int64Constant(int64_t); | 105 const Operator* Int64Constant(int64_t); |
106 const Operator* Float32Constant(volatile float); | 106 const Operator* Float32Constant(volatile float); |
107 const Operator* Float64Constant(volatile double); | 107 const Operator* Float64Constant(volatile double); |
108 const Operator* ExternalConstant(const ExternalReference&); | 108 const Operator* ExternalConstant(const ExternalReference&); |
109 const Operator* NumberConstant(volatile double); | 109 const Operator* NumberConstant(volatile double); |
110 const Operator* HeapConstant(const Unique<Object>&); | 110 const Operator* HeapConstant(const Unique<Object>&); |
111 | 111 |
112 const Operator* Phi(MachineType type, int arguments); | 112 const Operator* Phi(MachineType type, int arguments); |
113 const Operator* EffectPhi(int arguments); | 113 const Operator* EffectPhi(int arguments); |
114 const Operator* ControlEffect(); | |
115 const Operator* ValueEffect(int arguments); | 114 const Operator* ValueEffect(int arguments); |
116 const Operator* Finish(int arguments); | 115 const Operator* Finish(int arguments); |
117 const Operator* StateValues(int arguments); | 116 const Operator* StateValues(int arguments); |
118 const Operator* FrameState( | 117 const Operator* FrameState( |
119 FrameStateType type, BailoutId bailout_id, | 118 FrameStateType type, BailoutId bailout_id, |
120 OutputFrameStateCombine state_combine, | 119 OutputFrameStateCombine state_combine, |
121 MaybeHandle<JSFunction> jsfunction = MaybeHandle<JSFunction>()); | 120 MaybeHandle<JSFunction> jsfunction = MaybeHandle<JSFunction>()); |
122 const Operator* Call(const CallDescriptor* descriptor); | 121 const Operator* Call(const CallDescriptor* descriptor); |
123 const Operator* Projection(size_t index); | 122 const Operator* Projection(size_t index); |
124 | 123 |
125 private: | 124 private: |
126 Zone* zone() const { return zone_; } | 125 Zone* zone() const { return zone_; } |
127 | 126 |
128 const CommonOperatorBuilderImpl& impl_; | 127 const CommonOperatorBuilderImpl& impl_; |
129 Zone* const zone_; | 128 Zone* const zone_; |
130 }; | 129 }; |
131 | 130 |
132 } // namespace compiler | 131 } // namespace compiler |
133 } // namespace internal | 132 } // namespace internal |
134 } // namespace v8 | 133 } // namespace v8 |
135 | 134 |
136 #endif // V8_COMPILER_COMMON_OPERATOR_H_ | 135 #endif // V8_COMPILER_COMMON_OPERATOR_H_ |
OLD | NEW |