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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 class CommonOperatorBuilder FINAL { | 130 class CommonOperatorBuilder FINAL { |
131 public: | 131 public: |
132 explicit CommonOperatorBuilder(Zone* zone); | 132 explicit CommonOperatorBuilder(Zone* zone); |
133 | 133 |
134 const Operator* Dead(); | 134 const Operator* Dead(); |
135 const Operator* End(); | 135 const Operator* End(); |
136 const Operator* Branch(BranchHint = BranchHint::kNone); | 136 const Operator* Branch(BranchHint = BranchHint::kNone); |
137 const Operator* IfTrue(); | 137 const Operator* IfTrue(); |
138 const Operator* IfFalse(); | 138 const Operator* IfFalse(); |
139 const Operator* Throw(); | 139 const Operator* Throw(); |
| 140 const Operator* Terminate(int effects); |
140 const Operator* Return(); | 141 const Operator* Return(); |
141 | 142 |
142 const Operator* Start(int num_formal_parameters); | 143 const Operator* Start(int num_formal_parameters); |
143 const Operator* Merge(int controls); | 144 const Operator* Merge(int controls); |
144 const Operator* Loop(int controls); | 145 const Operator* Loop(int controls); |
145 const Operator* Parameter(int index); | 146 const Operator* Parameter(int index); |
146 | 147 |
147 const Operator* Int32Constant(int32_t); | 148 const Operator* Int32Constant(int32_t); |
148 const Operator* Int64Constant(int64_t); | 149 const Operator* Int64Constant(int64_t); |
149 const Operator* Float32Constant(volatile float); | 150 const Operator* Float32Constant(volatile float); |
(...skipping 19 matching lines...) Expand all Loading... |
169 | 170 |
170 const CommonOperatorBuilderImpl& impl_; | 171 const CommonOperatorBuilderImpl& impl_; |
171 Zone* const zone_; | 172 Zone* const zone_; |
172 }; | 173 }; |
173 | 174 |
174 } // namespace compiler | 175 } // namespace compiler |
175 } // namespace internal | 176 } // namespace internal |
176 } // namespace v8 | 177 } // namespace v8 |
177 | 178 |
178 #endif // V8_COMPILER_COMMON_OPERATOR_H_ | 179 #endif // V8_COMPILER_COMMON_OPERATOR_H_ |
OLD | NEW |