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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 | 165 |
166 #define SIMPLIFIED_OP_LIST(V) \ | 166 #define SIMPLIFIED_OP_LIST(V) \ |
167 SIMPLIFIED_COMPARE_BINOP_LIST(V) \ | 167 SIMPLIFIED_COMPARE_BINOP_LIST(V) \ |
168 V(BooleanNot) \ | 168 V(BooleanNot) \ |
169 V(BooleanToNumber) \ | 169 V(BooleanToNumber) \ |
170 V(NumberAdd) \ | 170 V(NumberAdd) \ |
171 V(NumberSubtract) \ | 171 V(NumberSubtract) \ |
172 V(NumberMultiply) \ | 172 V(NumberMultiply) \ |
173 V(NumberDivide) \ | 173 V(NumberDivide) \ |
174 V(NumberModulus) \ | 174 V(NumberModulus) \ |
| 175 V(NumberBitwiseOr) \ |
| 176 V(NumberBitwiseXor) \ |
| 177 V(NumberBitwiseAnd) \ |
175 V(NumberShiftLeft) \ | 178 V(NumberShiftLeft) \ |
176 V(NumberShiftRight) \ | 179 V(NumberShiftRight) \ |
177 V(NumberShiftRightLogical) \ | 180 V(NumberShiftRightLogical) \ |
178 V(NumberToInt32) \ | 181 V(NumberToInt32) \ |
179 V(NumberToUint32) \ | 182 V(NumberToUint32) \ |
180 V(PlainPrimitiveToNumber) \ | 183 V(PlainPrimitiveToNumber) \ |
181 V(ChangeTaggedToInt32) \ | 184 V(ChangeTaggedToInt32) \ |
182 V(ChangeTaggedToUint32) \ | 185 V(ChangeTaggedToUint32) \ |
183 V(ChangeTaggedToFloat64) \ | 186 V(ChangeTaggedToFloat64) \ |
184 V(ChangeInt32ToTagged) \ | 187 V(ChangeInt32ToTagged) \ |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
368 } | 371 } |
369 }; | 372 }; |
370 | 373 |
371 std::ostream& operator<<(std::ostream&, IrOpcode::Value); | 374 std::ostream& operator<<(std::ostream&, IrOpcode::Value); |
372 | 375 |
373 } // namespace compiler | 376 } // namespace compiler |
374 } // namespace internal | 377 } // namespace internal |
375 } // namespace v8 | 378 } // namespace v8 |
376 | 379 |
377 #endif // V8_COMPILER_OPCODES_H_ | 380 #endif // V8_COMPILER_OPCODES_H_ |
OLD | NEW |