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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 V(NumberEqual) \ | 168 V(NumberEqual) \ |
169 V(NumberLessThan) \ | 169 V(NumberLessThan) \ |
170 V(NumberLessThanOrEqual) \ | 170 V(NumberLessThanOrEqual) \ |
171 V(ReferenceEqual) \ | 171 V(ReferenceEqual) \ |
172 V(StringEqual) \ | 172 V(StringEqual) \ |
173 V(StringLessThan) \ | 173 V(StringLessThan) \ |
174 V(StringLessThanOrEqual) | 174 V(StringLessThanOrEqual) |
175 | 175 |
176 #define SIMPLIFIED_OP_LIST(V) \ | 176 #define SIMPLIFIED_OP_LIST(V) \ |
177 SIMPLIFIED_COMPARE_BINOP_LIST(V) \ | 177 SIMPLIFIED_COMPARE_BINOP_LIST(V) \ |
| 178 V(PlainPrimitiveToNumber) \ |
| 179 V(PlainPrimitiveToWord32) \ |
| 180 V(PlainPrimitiveToFloat64) \ |
178 V(BooleanNot) \ | 181 V(BooleanNot) \ |
179 V(BooleanToNumber) \ | 182 V(BooleanToNumber) \ |
180 V(SpeculativeNumberAdd) \ | 183 V(SpeculativeNumberAdd) \ |
181 V(SpeculativeNumberSubtract) \ | 184 V(SpeculativeNumberSubtract) \ |
182 V(NumberAdd) \ | 185 V(NumberAdd) \ |
183 V(NumberSubtract) \ | 186 V(NumberSubtract) \ |
184 V(NumberMultiply) \ | 187 V(NumberMultiply) \ |
185 V(NumberDivide) \ | 188 V(NumberDivide) \ |
186 V(NumberModulus) \ | 189 V(NumberModulus) \ |
187 V(NumberBitwiseOr) \ | 190 V(NumberBitwiseOr) \ |
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
644 } | 647 } |
645 }; | 648 }; |
646 | 649 |
647 std::ostream& operator<<(std::ostream&, IrOpcode::Value); | 650 std::ostream& operator<<(std::ostream&, IrOpcode::Value); |
648 | 651 |
649 } // namespace compiler | 652 } // namespace compiler |
650 } // namespace internal | 653 } // namespace internal |
651 } // namespace v8 | 654 } // namespace v8 |
652 | 655 |
653 #endif // V8_COMPILER_OPCODES_H_ | 656 #endif // V8_COMPILER_OPCODES_H_ |
OLD | NEW |