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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
168 // Special operator used only in Branches to mark them as always taken, but | 168 // Special operator used only in Branches to mark them as always taken, but |
169 // still unfoldable. This is required to properly connect non terminating | 169 // still unfoldable. This is required to properly connect non terminating |
170 // loops to end (in both the sea of nodes and the CFG). | 170 // loops to end (in both the sea of nodes and the CFG). |
171 const Operator* Always(); | 171 const Operator* Always(); |
172 | 172 |
173 const Operator* Dead(); | 173 const Operator* Dead(); |
174 const Operator* End(); | 174 const Operator* End(); |
175 const Operator* Branch(BranchHint = BranchHint::kNone); | 175 const Operator* Branch(BranchHint = BranchHint::kNone); |
176 const Operator* IfTrue(); | 176 const Operator* IfTrue(); |
177 const Operator* IfFalse(); | 177 const Operator* IfFalse(); |
178 const Operator* IfException(); | |
179 const Operator* IfSuccess(); | |
titzer
2015/02/17 10:32:52
IfSuccess first? here and elsewhere.
Michael Starzinger
2015/02/17 10:58:29
Done. I think I got them all.
| |
178 const Operator* Switch(size_t control_output_count); | 180 const Operator* Switch(size_t control_output_count); |
179 const Operator* Case(size_t index); | 181 const Operator* Case(size_t index); |
180 const Operator* Throw(); | 182 const Operator* Throw(); |
181 const Operator* Return(); | 183 const Operator* Return(); |
182 | 184 |
183 const Operator* Start(int num_formal_parameters); | 185 const Operator* Start(int num_formal_parameters); |
184 const Operator* Loop(int control_input_count); | 186 const Operator* Loop(int control_input_count); |
185 const Operator* Merge(int control_input_count); | 187 const Operator* Merge(int control_input_count); |
186 const Operator* Parameter(int index); | 188 const Operator* Parameter(int index); |
187 | 189 |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
222 Zone* const zone_; | 224 Zone* const zone_; |
223 | 225 |
224 DISALLOW_COPY_AND_ASSIGN(CommonOperatorBuilder); | 226 DISALLOW_COPY_AND_ASSIGN(CommonOperatorBuilder); |
225 }; | 227 }; |
226 | 228 |
227 } // namespace compiler | 229 } // namespace compiler |
228 } // namespace internal | 230 } // namespace internal |
229 } // namespace v8 | 231 } // namespace v8 |
230 | 232 |
231 #endif // V8_COMPILER_COMMON_OPERATOR_H_ | 233 #endif // V8_COMPILER_COMMON_OPERATOR_H_ |
OLD | NEW |