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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 V(ChangeTaggedToBit) \ | 175 V(ChangeTaggedToBit) \ |
176 V(ChangeBitToTagged) \ | 176 V(ChangeBitToTagged) \ |
177 V(TruncateTaggedToWord32) \ | 177 V(TruncateTaggedToWord32) \ |
178 V(TruncateTaggedToFloat64) | 178 V(TruncateTaggedToFloat64) |
179 | 179 |
180 #define SIMPLIFIED_CHECKED_OP_LIST(V) \ | 180 #define SIMPLIFIED_CHECKED_OP_LIST(V) \ |
181 V(CheckedInt32Add) \ | 181 V(CheckedInt32Add) \ |
182 V(CheckedInt32Sub) \ | 182 V(CheckedInt32Sub) \ |
183 V(CheckedInt32Div) \ | 183 V(CheckedInt32Div) \ |
184 V(CheckedInt32Mod) \ | 184 V(CheckedInt32Mod) \ |
| 185 V(CheckedUint32Div) \ |
| 186 V(CheckedUint32Mod) \ |
185 V(CheckedUint32ToInt32) \ | 187 V(CheckedUint32ToInt32) \ |
186 V(CheckedFloat64ToInt32) \ | 188 V(CheckedFloat64ToInt32) \ |
187 V(CheckedTaggedToInt32) \ | 189 V(CheckedTaggedToInt32) \ |
188 V(CheckedTaggedToFloat64) | 190 V(CheckedTaggedToFloat64) |
189 | 191 |
190 #define SIMPLIFIED_COMPARE_BINOP_LIST(V) \ | 192 #define SIMPLIFIED_COMPARE_BINOP_LIST(V) \ |
191 V(NumberEqual) \ | 193 V(NumberEqual) \ |
192 V(NumberLessThan) \ | 194 V(NumberLessThan) \ |
193 V(NumberLessThanOrEqual) \ | 195 V(NumberLessThanOrEqual) \ |
194 V(ReferenceEqual) \ | 196 V(ReferenceEqual) \ |
(...skipping 518 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
713 } | 715 } |
714 }; | 716 }; |
715 | 717 |
716 std::ostream& operator<<(std::ostream&, IrOpcode::Value); | 718 std::ostream& operator<<(std::ostream&, IrOpcode::Value); |
717 | 719 |
718 } // namespace compiler | 720 } // namespace compiler |
719 } // namespace internal | 721 } // namespace internal |
720 } // namespace v8 | 722 } // namespace v8 |
721 | 723 |
722 #endif // V8_COMPILER_OPCODES_H_ | 724 #endif // V8_COMPILER_OPCODES_H_ |
OLD | NEW |