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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 V(JSDivide) \ | 89 V(JSDivide) \ |
90 V(JSModulus) | 90 V(JSModulus) |
91 | 91 |
92 #define JS_SIMPLE_BINOP_LIST(V) \ | 92 #define JS_SIMPLE_BINOP_LIST(V) \ |
93 JS_COMPARE_BINOP_LIST(V) \ | 93 JS_COMPARE_BINOP_LIST(V) \ |
94 JS_BITWISE_BINOP_LIST(V) \ | 94 JS_BITWISE_BINOP_LIST(V) \ |
95 JS_ARITH_BINOP_LIST(V) | 95 JS_ARITH_BINOP_LIST(V) |
96 | 96 |
97 #define JS_CONVERSION_UNOP_LIST(V) \ | 97 #define JS_CONVERSION_UNOP_LIST(V) \ |
98 V(JSToBoolean) \ | 98 V(JSToBoolean) \ |
| 99 V(JSToInteger) \ |
| 100 V(JSToLength) \ |
| 101 V(JSToName) \ |
99 V(JSToNumber) \ | 102 V(JSToNumber) \ |
100 V(JSToString) \ | 103 V(JSToObject) \ |
101 V(JSToName) \ | 104 V(JSToString) |
102 V(JSToObject) | |
103 | 105 |
104 #define JS_OTHER_UNOP_LIST(V) \ | 106 #define JS_OTHER_UNOP_LIST(V) \ |
105 V(JSTypeOf) | 107 V(JSTypeOf) |
106 | 108 |
107 #define JS_SIMPLE_UNOP_LIST(V) \ | 109 #define JS_SIMPLE_UNOP_LIST(V) \ |
108 JS_CONVERSION_UNOP_LIST(V) \ | 110 JS_CONVERSION_UNOP_LIST(V) \ |
109 JS_OTHER_UNOP_LIST(V) | 111 JS_OTHER_UNOP_LIST(V) |
110 | 112 |
111 #define JS_OBJECT_OP_LIST(V) \ | 113 #define JS_OBJECT_OP_LIST(V) \ |
112 V(JSCreate) \ | 114 V(JSCreate) \ |
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
424 } | 426 } |
425 }; | 427 }; |
426 | 428 |
427 std::ostream& operator<<(std::ostream&, IrOpcode::Value); | 429 std::ostream& operator<<(std::ostream&, IrOpcode::Value); |
428 | 430 |
429 } // namespace compiler | 431 } // namespace compiler |
430 } // namespace internal | 432 } // namespace internal |
431 } // namespace v8 | 433 } // namespace v8 |
432 | 434 |
433 #endif // V8_COMPILER_OPCODES_H_ | 435 #endif // V8_COMPILER_OPCODES_H_ |
OLD | NEW |