| 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 // Opcodes for control operators. | 8 // Opcodes for control operators. |
| 9 #define INNER_CONTROL_OP_LIST(V) \ | 9 #define INNER_CONTROL_OP_LIST(V) \ |
| 10 V(Dead) \ | 10 V(Dead) \ |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 V(JSBitwiseAnd) \ | 74 V(JSBitwiseAnd) \ |
| 75 V(JSShiftLeft) \ | 75 V(JSShiftLeft) \ |
| 76 V(JSShiftRight) \ | 76 V(JSShiftRight) \ |
| 77 V(JSShiftRightLogical) | 77 V(JSShiftRightLogical) |
| 78 | 78 |
| 79 #define JS_ARITH_BINOP_LIST(V) \ | 79 #define JS_ARITH_BINOP_LIST(V) \ |
| 80 V(JSAdd) \ | 80 V(JSAdd) \ |
| 81 V(JSSubtract) \ | 81 V(JSSubtract) \ |
| 82 V(JSMultiply) \ | 82 V(JSMultiply) \ |
| 83 V(JSDivide) \ | 83 V(JSDivide) \ |
| 84 V(JSModulus) | 84 V(JSModulus) \ |
| 85 V(JSExponentiate) |
| 85 | 86 |
| 86 #define JS_SIMPLE_BINOP_LIST(V) \ | 87 #define JS_SIMPLE_BINOP_LIST(V) \ |
| 87 JS_COMPARE_BINOP_LIST(V) \ | 88 JS_COMPARE_BINOP_LIST(V) \ |
| 88 JS_BITWISE_BINOP_LIST(V) \ | 89 JS_BITWISE_BINOP_LIST(V) \ |
| 89 JS_ARITH_BINOP_LIST(V) | 90 JS_ARITH_BINOP_LIST(V) |
| 90 | 91 |
| 91 #define JS_LOGIC_UNOP_LIST(V) V(JSUnaryNot) | 92 #define JS_LOGIC_UNOP_LIST(V) V(JSUnaryNot) |
| 92 | 93 |
| 93 #define JS_CONVERSION_UNOP_LIST(V) \ | 94 #define JS_CONVERSION_UNOP_LIST(V) \ |
| 94 V(JSToBoolean) \ | 95 V(JSToBoolean) \ |
| (...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 321 (kNumberEqual <= value && value <= kStringLessThanOrEqual) || | 322 (kNumberEqual <= value && value <= kStringLessThanOrEqual) || |
| 322 (kWord32Equal <= value && value <= kFloat64LessThanOrEqual); | 323 (kWord32Equal <= value && value <= kFloat64LessThanOrEqual); |
| 323 } | 324 } |
| 324 }; | 325 }; |
| 325 | 326 |
| 326 } // namespace compiler | 327 } // namespace compiler |
| 327 } // namespace internal | 328 } // namespace internal |
| 328 } // namespace v8 | 329 } // namespace v8 |
| 329 | 330 |
| 330 #endif // V8_COMPILER_OPCODES_H_ | 331 #endif // V8_COMPILER_OPCODES_H_ |
| OLD | NEW |