mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-01 12:24:24 +00:00
remove dead enum value.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41925 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -80,11 +80,10 @@ public:
|
|||||||
IntegerTyID, ///< 7: Arbitrary bit width integers
|
IntegerTyID, ///< 7: Arbitrary bit width integers
|
||||||
FunctionTyID, ///< 8: Functions
|
FunctionTyID, ///< 8: Functions
|
||||||
StructTyID, ///< 9: Structures
|
StructTyID, ///< 9: Structures
|
||||||
PackedStructTyID,///< 10: Packed Structure. This is for bitcode only
|
ArrayTyID, ///< 10: Arrays
|
||||||
ArrayTyID, ///< 11: Arrays
|
PointerTyID, ///< 11: Pointers
|
||||||
PointerTyID, ///< 12: Pointers
|
OpaqueTyID, ///< 12: Opaque: type with unknown structure
|
||||||
OpaqueTyID, ///< 13: Opaque: type with unknown structure
|
VectorTyID, ///< 13: SIMD 'packed' format, or other vector type
|
||||||
VectorTyID, ///< 14: SIMD 'packed' format, or other vector type
|
|
||||||
|
|
||||||
NumTypeIDs, // Must remain as last defined ID
|
NumTypeIDs, // Must remain as last defined ID
|
||||||
LastPrimitiveTyID = LabelTyID,
|
LastPrimitiveTyID = LabelTyID,
|
||||||
@ -230,8 +229,7 @@ public:
|
|||||||
return true;
|
return true;
|
||||||
// If it is not something that can have a size (e.g. a function or label),
|
// If it is not something that can have a size (e.g. a function or label),
|
||||||
// it doesn't have a size.
|
// it doesn't have a size.
|
||||||
if (ID != StructTyID && ID != ArrayTyID && ID != VectorTyID &&
|
if (ID != StructTyID && ID != ArrayTyID && ID != VectorTyID)
|
||||||
ID != PackedStructTyID)
|
|
||||||
return false;
|
return false;
|
||||||
// If it is something that can have a size and it's concrete, it definitely
|
// If it is something that can have a size and it's concrete, it definitely
|
||||||
// has a size, otherwise we have to try harder to decide.
|
// has a size, otherwise we have to try harder to decide.
|
||||||
|
Reference in New Issue
Block a user