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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 V(ChangeUint32ToTagged) \ | 173 V(ChangeUint32ToTagged) \ |
174 V(ChangeFloat64ToTagged) \ | 174 V(ChangeFloat64ToTagged) \ |
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) \ |
| 184 V(CheckedInt32Mod) \ |
183 V(CheckedUint32ToInt32) \ | 185 V(CheckedUint32ToInt32) \ |
184 V(CheckedFloat64ToInt32) \ | 186 V(CheckedFloat64ToInt32) \ |
185 V(CheckedTaggedToInt32) \ | 187 V(CheckedTaggedToInt32) \ |
186 V(CheckedTaggedToFloat64) | 188 V(CheckedTaggedToFloat64) |
187 | 189 |
188 #define SIMPLIFIED_COMPARE_BINOP_LIST(V) \ | 190 #define SIMPLIFIED_COMPARE_BINOP_LIST(V) \ |
189 V(NumberEqual) \ | 191 V(NumberEqual) \ |
190 V(NumberLessThan) \ | 192 V(NumberLessThan) \ |
191 V(NumberLessThanOrEqual) \ | 193 V(NumberLessThanOrEqual) \ |
192 V(ReferenceEqual) \ | 194 V(ReferenceEqual) \ |
(...skipping 520 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 |