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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 // Special operator used only in Branches to mark them as always taken, but | 165 // Special operator used only in Branches to mark them as always taken, but |
166 // still unfoldable. This is required to properly connect non terminating | 166 // still unfoldable. This is required to properly connect non terminating |
167 // loops to end (in both the sea of nodes and the CFG). | 167 // loops to end (in both the sea of nodes and the CFG). |
168 const Operator* Always(); | 168 const Operator* Always(); |
169 | 169 |
170 const Operator* Dead(); | 170 const Operator* Dead(); |
171 const Operator* End(); | 171 const Operator* End(); |
172 const Operator* Branch(BranchHint = BranchHint::kNone); | 172 const Operator* Branch(BranchHint = BranchHint::kNone); |
173 const Operator* IfTrue(); | 173 const Operator* IfTrue(); |
174 const Operator* IfFalse(); | 174 const Operator* IfFalse(); |
| 175 const Operator* IfSuccess(); |
| 176 const Operator* IfException(); |
175 const Operator* Switch(size_t control_output_count); | 177 const Operator* Switch(size_t control_output_count); |
176 const Operator* IfValue(int32_t value); | 178 const Operator* IfValue(int32_t value); |
177 const Operator* IfDefault(); | 179 const Operator* IfDefault(); |
178 const Operator* Throw(); | 180 const Operator* Throw(); |
179 const Operator* Return(); | 181 const Operator* Return(); |
180 | 182 |
181 const Operator* Start(int num_formal_parameters); | 183 const Operator* Start(int num_formal_parameters); |
182 const Operator* Loop(int control_input_count); | 184 const Operator* Loop(int control_input_count); |
183 const Operator* Merge(int control_input_count); | 185 const Operator* Merge(int control_input_count); |
184 const Operator* Parameter(int index); | 186 const Operator* Parameter(int index); |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 Zone* const zone_; | 222 Zone* const zone_; |
221 | 223 |
222 DISALLOW_COPY_AND_ASSIGN(CommonOperatorBuilder); | 224 DISALLOW_COPY_AND_ASSIGN(CommonOperatorBuilder); |
223 }; | 225 }; |
224 | 226 |
225 } // namespace compiler | 227 } // namespace compiler |
226 } // namespace internal | 228 } // namespace internal |
227 } // namespace v8 | 229 } // namespace v8 |
228 | 230 |
229 #endif // V8_COMPILER_COMMON_OPERATOR_H_ | 231 #endif // V8_COMPILER_COMMON_OPERATOR_H_ |
OLD | NEW |