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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 V(NumberEqual) \ | 146 V(NumberEqual) \ |
147 V(NumberLessThan) \ | 147 V(NumberLessThan) \ |
148 V(NumberLessThanOrEqual) \ | 148 V(NumberLessThanOrEqual) \ |
149 V(ReferenceEqual) \ | 149 V(ReferenceEqual) \ |
150 V(StringEqual) \ | 150 V(StringEqual) \ |
151 V(StringLessThan) \ | 151 V(StringLessThan) \ |
152 V(StringLessThanOrEqual) | 152 V(StringLessThanOrEqual) |
153 | 153 |
154 #define SIMPLIFIED_OP_LIST(V) \ | 154 #define SIMPLIFIED_OP_LIST(V) \ |
155 SIMPLIFIED_COMPARE_BINOP_LIST(V) \ | 155 SIMPLIFIED_COMPARE_BINOP_LIST(V) \ |
156 V(AnyToBoolean) \ | |
157 V(BooleanNot) \ | 156 V(BooleanNot) \ |
158 V(BooleanToNumber) \ | 157 V(BooleanToNumber) \ |
159 V(NumberAdd) \ | 158 V(NumberAdd) \ |
160 V(NumberSubtract) \ | 159 V(NumberSubtract) \ |
161 V(NumberMultiply) \ | 160 V(NumberMultiply) \ |
162 V(NumberDivide) \ | 161 V(NumberDivide) \ |
163 V(NumberModulus) \ | 162 V(NumberModulus) \ |
164 V(NumberToInt32) \ | 163 V(NumberToInt32) \ |
165 V(NumberToUint32) \ | 164 V(NumberToUint32) \ |
166 V(PlainPrimitiveToNumber) \ | 165 V(PlainPrimitiveToNumber) \ |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
332 (kNumberEqual <= value && value <= kStringLessThanOrEqual) || | 331 (kNumberEqual <= value && value <= kStringLessThanOrEqual) || |
333 (kWord32Equal <= value && value <= kFloat64LessThanOrEqual); | 332 (kWord32Equal <= value && value <= kFloat64LessThanOrEqual); |
334 } | 333 } |
335 }; | 334 }; |
336 | 335 |
337 } // namespace compiler | 336 } // namespace compiler |
338 } // namespace internal | 337 } // namespace internal |
339 } // namespace v8 | 338 } // namespace v8 |
340 | 339 |
341 #endif // V8_COMPILER_OPCODES_H_ | 340 #endif // V8_COMPILER_OPCODES_H_ |
OLD | NEW |