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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 #define JS_OP_LIST(V) \ | 124 #define JS_OP_LIST(V) \ |
125 JS_SIMPLE_BINOP_LIST(V) \ | 125 JS_SIMPLE_BINOP_LIST(V) \ |
126 JS_SIMPLE_UNOP_LIST(V) \ | 126 JS_SIMPLE_UNOP_LIST(V) \ |
127 JS_OBJECT_OP_LIST(V) \ | 127 JS_OBJECT_OP_LIST(V) \ |
128 JS_CONTEXT_OP_LIST(V) \ | 128 JS_CONTEXT_OP_LIST(V) \ |
129 JS_OTHER_OP_LIST(V) | 129 JS_OTHER_OP_LIST(V) |
130 | 130 |
131 // Opcodes for VirtuaMachine-level operators. | 131 // Opcodes for VirtuaMachine-level operators. |
132 #define SIMPLIFIED_OP_LIST(V) \ | 132 #define SIMPLIFIED_OP_LIST(V) \ |
133 V(BooleanNot) \ | 133 V(BooleanNot) \ |
| 134 V(BooleanToNumber) \ |
134 V(NumberEqual) \ | 135 V(NumberEqual) \ |
135 V(NumberLessThan) \ | 136 V(NumberLessThan) \ |
136 V(NumberLessThanOrEqual) \ | 137 V(NumberLessThanOrEqual) \ |
137 V(NumberAdd) \ | 138 V(NumberAdd) \ |
138 V(NumberSubtract) \ | 139 V(NumberSubtract) \ |
139 V(NumberMultiply) \ | 140 V(NumberMultiply) \ |
140 V(NumberDivide) \ | 141 V(NumberDivide) \ |
141 V(NumberModulus) \ | 142 V(NumberModulus) \ |
142 V(NumberToInt32) \ | 143 V(NumberToInt32) \ |
143 V(NumberToUint32) \ | 144 V(NumberToUint32) \ |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
296 return false; | 297 return false; |
297 } | 298 } |
298 } | 299 } |
299 }; | 300 }; |
300 | 301 |
301 } // namespace compiler | 302 } // namespace compiler |
302 } // namespace internal | 303 } // namespace internal |
303 } // namespace v8 | 304 } // namespace v8 |
304 | 305 |
305 #endif // V8_COMPILER_OPCODES_H_ | 306 #endif // V8_COMPILER_OPCODES_H_ |
OLD | NEW |