| OLD | NEW | 
|---|
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_INSTRUCTION_H_ | 5 #ifndef V8_COMPILER_INSTRUCTION_H_ | 
| 6 #define V8_COMPILER_INSTRUCTION_H_ | 6 #define V8_COMPILER_INSTRUCTION_H_ | 
| 7 | 7 | 
| 8 #include <deque> | 8 #include <deque> | 
| 9 #include <iosfwd> | 9 #include <iosfwd> | 
| 10 #include <map> | 10 #include <map> | 
| (...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 477     return RepresentationField::decode(value_); | 477     return RepresentationField::decode(value_); | 
| 478   } | 478   } | 
| 479 | 479 | 
| 480   static bool IsSupportedRepresentation(MachineRepresentation rep) { | 480   static bool IsSupportedRepresentation(MachineRepresentation rep) { | 
| 481     switch (rep) { | 481     switch (rep) { | 
| 482       case MachineRepresentation::kWord32: | 482       case MachineRepresentation::kWord32: | 
| 483       case MachineRepresentation::kWord64: | 483       case MachineRepresentation::kWord64: | 
| 484       case MachineRepresentation::kFloat32: | 484       case MachineRepresentation::kFloat32: | 
| 485       case MachineRepresentation::kFloat64: | 485       case MachineRepresentation::kFloat64: | 
| 486       case MachineRepresentation::kSimd128: | 486       case MachineRepresentation::kSimd128: | 
|  | 487       case MachineRepresentation::kSimd1x4: | 
|  | 488       case MachineRepresentation::kSimd1x8: | 
|  | 489       case MachineRepresentation::kSimd1x16: | 
| 487       case MachineRepresentation::kTaggedSigned: | 490       case MachineRepresentation::kTaggedSigned: | 
| 488       case MachineRepresentation::kTaggedPointer: | 491       case MachineRepresentation::kTaggedPointer: | 
| 489       case MachineRepresentation::kTagged: | 492       case MachineRepresentation::kTagged: | 
| 490         return true; | 493         return true; | 
| 491       case MachineRepresentation::kBit: | 494       case MachineRepresentation::kBit: | 
| 492       case MachineRepresentation::kWord8: | 495       case MachineRepresentation::kWord8: | 
| 493       case MachineRepresentation::kWord16: | 496       case MachineRepresentation::kWord16: | 
| 494       case MachineRepresentation::kNone: | 497       case MachineRepresentation::kNone: | 
| 495         return false; | 498         return false; | 
| 496     } | 499     } | 
| (...skipping 1139 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1636 }; | 1639 }; | 
| 1637 | 1640 | 
| 1638 V8_EXPORT_PRIVATE std::ostream& operator<<( | 1641 V8_EXPORT_PRIVATE std::ostream& operator<<( | 
| 1639     std::ostream& os, const PrintableInstructionSequence& code); | 1642     std::ostream& os, const PrintableInstructionSequence& code); | 
| 1640 | 1643 | 
| 1641 }  // namespace compiler | 1644 }  // namespace compiler | 
| 1642 }  // namespace internal | 1645 }  // namespace internal | 
| 1643 }  // namespace v8 | 1646 }  // namespace v8 | 
| 1644 | 1647 | 
| 1645 #endif  // V8_COMPILER_INSTRUCTION_H_ | 1648 #endif  // V8_COMPILER_INSTRUCTION_H_ | 
| OLD | NEW | 
|---|