| 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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 V(TruncateTaggedToBit) | 183 V(TruncateTaggedToBit) |
| 184 | 184 |
| 185 #define SIMPLIFIED_CHECKED_OP_LIST(V) \ | 185 #define SIMPLIFIED_CHECKED_OP_LIST(V) \ |
| 186 V(CheckedInt32Add) \ | 186 V(CheckedInt32Add) \ |
| 187 V(CheckedInt32Sub) \ | 187 V(CheckedInt32Sub) \ |
| 188 V(CheckedInt32Div) \ | 188 V(CheckedInt32Div) \ |
| 189 V(CheckedInt32Mod) \ | 189 V(CheckedInt32Mod) \ |
| 190 V(CheckedUint32Div) \ | 190 V(CheckedUint32Div) \ |
| 191 V(CheckedUint32Mod) \ | 191 V(CheckedUint32Mod) \ |
| 192 V(CheckedInt32Mul) \ | 192 V(CheckedInt32Mul) \ |
| 193 V(CheckedInt32ToTaggedSigned) \ |
| 193 V(CheckedUint32ToInt32) \ | 194 V(CheckedUint32ToInt32) \ |
| 195 V(CheckedUint32ToTaggedSigned) \ |
| 194 V(CheckedFloat64ToInt32) \ | 196 V(CheckedFloat64ToInt32) \ |
| 195 V(CheckedTaggedSignedToInt32) \ | 197 V(CheckedTaggedSignedToInt32) \ |
| 196 V(CheckedTaggedToInt32) \ | 198 V(CheckedTaggedToInt32) \ |
| 197 V(CheckedTruncateTaggedToWord32) \ | 199 V(CheckedTruncateTaggedToWord32) \ |
| 198 V(CheckedTaggedToFloat64) | 200 V(CheckedTaggedToFloat64) \ |
| 201 V(CheckedTaggedToTaggedSigned) |
| 199 | 202 |
| 200 #define SIMPLIFIED_COMPARE_BINOP_LIST(V) \ | 203 #define SIMPLIFIED_COMPARE_BINOP_LIST(V) \ |
| 201 V(NumberEqual) \ | 204 V(NumberEqual) \ |
| 202 V(NumberLessThan) \ | 205 V(NumberLessThan) \ |
| 203 V(NumberLessThanOrEqual) \ | 206 V(NumberLessThanOrEqual) \ |
| 204 V(SpeculativeNumberEqual) \ | 207 V(SpeculativeNumberEqual) \ |
| 205 V(SpeculativeNumberLessThan) \ | 208 V(SpeculativeNumberLessThan) \ |
| 206 V(SpeculativeNumberLessThanOrEqual) \ | 209 V(SpeculativeNumberLessThanOrEqual) \ |
| 207 V(ReferenceEqual) \ | 210 V(ReferenceEqual) \ |
| 208 V(StringEqual) \ | 211 V(StringEqual) \ |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 279 V(PlainPrimitiveToWord32) \ | 282 V(PlainPrimitiveToWord32) \ |
| 280 V(PlainPrimitiveToFloat64) \ | 283 V(PlainPrimitiveToFloat64) \ |
| 281 V(BooleanNot) \ | 284 V(BooleanNot) \ |
| 282 V(StringCharCodeAt) \ | 285 V(StringCharCodeAt) \ |
| 283 V(StringFromCharCode) \ | 286 V(StringFromCharCode) \ |
| 284 V(CheckBounds) \ | 287 V(CheckBounds) \ |
| 285 V(CheckIf) \ | 288 V(CheckIf) \ |
| 286 V(CheckMaps) \ | 289 V(CheckMaps) \ |
| 287 V(CheckNumber) \ | 290 V(CheckNumber) \ |
| 288 V(CheckString) \ | 291 V(CheckString) \ |
| 289 V(CheckTaggedPointer) \ | 292 V(CheckSmi) \ |
| 290 V(CheckTaggedSigned) \ | 293 V(CheckHeapObject) \ |
| 291 V(CheckFloat64Hole) \ | 294 V(CheckFloat64Hole) \ |
| 292 V(CheckTaggedHole) \ | 295 V(CheckTaggedHole) \ |
| 293 V(ConvertTaggedHoleToUndefined) \ | 296 V(ConvertTaggedHoleToUndefined) \ |
| 294 V(Allocate) \ | 297 V(Allocate) \ |
| 295 V(LoadField) \ | 298 V(LoadField) \ |
| 296 V(LoadBuffer) \ | 299 V(LoadBuffer) \ |
| 297 V(LoadElement) \ | 300 V(LoadElement) \ |
| 298 V(LoadTypedElement) \ | 301 V(LoadTypedElement) \ |
| 299 V(StoreField) \ | 302 V(StoreField) \ |
| 300 V(StoreBuffer) \ | 303 V(StoreBuffer) \ |
| (...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 756 } | 759 } |
| 757 }; | 760 }; |
| 758 | 761 |
| 759 std::ostream& operator<<(std::ostream&, IrOpcode::Value); | 762 std::ostream& operator<<(std::ostream&, IrOpcode::Value); |
| 760 | 763 |
| 761 } // namespace compiler | 764 } // namespace compiler |
| 762 } // namespace internal | 765 } // namespace internal |
| 763 } // namespace v8 | 766 } // namespace v8 |
| 764 | 767 |
| 765 #endif // V8_COMPILER_OPCODES_H_ | 768 #endif // V8_COMPILER_OPCODES_H_ |
| OLD | NEW |