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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 const Operator* Branch(BranchHint = BranchHint::kNone); | 126 const Operator* Branch(BranchHint = BranchHint::kNone); |
127 const Operator* IfTrue(); | 127 const Operator* IfTrue(); |
128 const Operator* IfFalse(); | 128 const Operator* IfFalse(); |
129 const Operator* IfSuccess(); | 129 const Operator* IfSuccess(); |
130 const Operator* IfException(IfExceptionHint hint); | 130 const Operator* IfException(IfExceptionHint hint); |
131 const Operator* Switch(size_t control_output_count); | 131 const Operator* Switch(size_t control_output_count); |
132 const Operator* IfValue(int32_t value); | 132 const Operator* IfValue(int32_t value); |
133 const Operator* IfDefault(); | 133 const Operator* IfDefault(); |
134 const Operator* Throw(); | 134 const Operator* Throw(); |
135 const Operator* Deoptimize(DeoptimizeKind kind); | 135 const Operator* Deoptimize(DeoptimizeKind kind); |
| 136 const Operator* DeoptimizeIf(); |
| 137 const Operator* DeoptimizeUnless(); |
136 const Operator* Return(int value_input_count = 1); | 138 const Operator* Return(int value_input_count = 1); |
137 const Operator* Terminate(); | 139 const Operator* Terminate(); |
138 | 140 |
139 const Operator* Start(int value_output_count); | 141 const Operator* Start(int value_output_count); |
140 const Operator* Loop(int control_input_count); | 142 const Operator* Loop(int control_input_count); |
141 const Operator* Merge(int control_input_count); | 143 const Operator* Merge(int control_input_count); |
142 const Operator* Parameter(int index, const char* debug_name = nullptr); | 144 const Operator* Parameter(int index, const char* debug_name = nullptr); |
143 | 145 |
144 const Operator* OsrNormalEntry(); | 146 const Operator* OsrNormalEntry(); |
145 const Operator* OsrLoopEntry(); | 147 const Operator* OsrLoopEntry(); |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 Zone* const zone_; | 189 Zone* const zone_; |
188 | 190 |
189 DISALLOW_COPY_AND_ASSIGN(CommonOperatorBuilder); | 191 DISALLOW_COPY_AND_ASSIGN(CommonOperatorBuilder); |
190 }; | 192 }; |
191 | 193 |
192 } // namespace compiler | 194 } // namespace compiler |
193 } // namespace internal | 195 } // namespace internal |
194 } // namespace v8 | 196 } // namespace v8 |
195 | 197 |
196 #endif // V8_COMPILER_COMMON_OPERATOR_H_ | 198 #endif // V8_COMPILER_COMMON_OPERATOR_H_ |
OLD | NEW |