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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 | 125 |
126 #define JS_OP_LIST(V) \ | 126 #define JS_OP_LIST(V) \ |
127 JS_SIMPLE_BINOP_LIST(V) \ | 127 JS_SIMPLE_BINOP_LIST(V) \ |
128 JS_SIMPLE_UNOP_LIST(V) \ | 128 JS_SIMPLE_UNOP_LIST(V) \ |
129 JS_OBJECT_OP_LIST(V) \ | 129 JS_OBJECT_OP_LIST(V) \ |
130 JS_CONTEXT_OP_LIST(V) \ | 130 JS_CONTEXT_OP_LIST(V) \ |
131 JS_OTHER_OP_LIST(V) | 131 JS_OTHER_OP_LIST(V) |
132 | 132 |
133 // Opcodes for VirtuaMachine-level operators. | 133 // Opcodes for VirtuaMachine-level operators. |
134 #define SIMPLIFIED_OP_LIST(V) \ | 134 #define SIMPLIFIED_OP_LIST(V) \ |
| 135 V(AnyToBoolean) \ |
135 V(BooleanNot) \ | 136 V(BooleanNot) \ |
136 V(BooleanToNumber) \ | 137 V(BooleanToNumber) \ |
137 V(NumberEqual) \ | 138 V(NumberEqual) \ |
138 V(NumberLessThan) \ | 139 V(NumberLessThan) \ |
139 V(NumberLessThanOrEqual) \ | 140 V(NumberLessThanOrEqual) \ |
140 V(NumberAdd) \ | 141 V(NumberAdd) \ |
141 V(NumberSubtract) \ | 142 V(NumberSubtract) \ |
142 V(NumberMultiply) \ | 143 V(NumberMultiply) \ |
143 V(NumberDivide) \ | 144 V(NumberDivide) \ |
144 V(NumberModulus) \ | 145 V(NumberModulus) \ |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
322 return false; | 323 return false; |
323 } | 324 } |
324 } | 325 } |
325 }; | 326 }; |
326 | 327 |
327 } // namespace compiler | 328 } // namespace compiler |
328 } // namespace internal | 329 } // namespace internal |
329 } // namespace v8 | 330 } // namespace v8 |
330 | 331 |
331 #endif // V8_COMPILER_OPCODES_H_ | 332 #endif // V8_COMPILER_OPCODES_H_ |
OLD | NEW |