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_OPCODES_H_ | 5 #ifndef V8_COMPILER_OPCODES_H_ |
6 #define V8_COMPILER_OPCODES_H_ | 6 #define V8_COMPILER_OPCODES_H_ |
7 | 7 |
8 #include <iosfwd> | 8 #include <iosfwd> |
9 | 9 |
10 // Opcodes for control operators. | 10 // Opcodes for control operators. |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 | 164 |
165 #define SIMPLIFIED_OP_LIST(V) \ | 165 #define SIMPLIFIED_OP_LIST(V) \ |
166 SIMPLIFIED_COMPARE_BINOP_LIST(V) \ | 166 SIMPLIFIED_COMPARE_BINOP_LIST(V) \ |
167 V(BooleanNot) \ | 167 V(BooleanNot) \ |
168 V(BooleanToNumber) \ | 168 V(BooleanToNumber) \ |
169 V(NumberAdd) \ | 169 V(NumberAdd) \ |
170 V(NumberSubtract) \ | 170 V(NumberSubtract) \ |
171 V(NumberMultiply) \ | 171 V(NumberMultiply) \ |
172 V(NumberDivide) \ | 172 V(NumberDivide) \ |
173 V(NumberModulus) \ | 173 V(NumberModulus) \ |
| 174 V(NumberShiftLeft) \ |
| 175 V(NumberShiftRight) \ |
| 176 V(NumberShiftRightLogical) \ |
174 V(NumberToInt32) \ | 177 V(NumberToInt32) \ |
175 V(NumberToUint32) \ | 178 V(NumberToUint32) \ |
176 V(PlainPrimitiveToNumber) \ | 179 V(PlainPrimitiveToNumber) \ |
177 V(ChangeTaggedToInt32) \ | 180 V(ChangeTaggedToInt32) \ |
178 V(ChangeTaggedToUint32) \ | 181 V(ChangeTaggedToUint32) \ |
179 V(ChangeTaggedToFloat64) \ | 182 V(ChangeTaggedToFloat64) \ |
180 V(ChangeInt32ToTagged) \ | 183 V(ChangeInt32ToTagged) \ |
181 V(ChangeUint32ToTagged) \ | 184 V(ChangeUint32ToTagged) \ |
182 V(ChangeFloat64ToTagged) \ | 185 V(ChangeFloat64ToTagged) \ |
183 V(ChangeBoolToBit) \ | 186 V(ChangeBoolToBit) \ |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
359 } | 362 } |
360 }; | 363 }; |
361 | 364 |
362 std::ostream& operator<<(std::ostream&, IrOpcode::Value); | 365 std::ostream& operator<<(std::ostream&, IrOpcode::Value); |
363 | 366 |
364 } // namespace compiler | 367 } // namespace compiler |
365 } // namespace internal | 368 } // namespace internal |
366 } // namespace v8 | 369 } // namespace v8 |
367 | 370 |
368 #endif // V8_COMPILER_OPCODES_H_ | 371 #endif // V8_COMPILER_OPCODES_H_ |
OLD | NEW |