mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
Turn some DenseMaps that are only used for set operations into DenseSets.
DenseSet has better memory efficiency now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223589 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -313,11 +313,11 @@ public:
|
||||
BumpPtrAllocator TypeAllocator;
|
||||
|
||||
DenseMap<unsigned, IntegerType*> IntegerTypes;
|
||||
|
||||
typedef DenseMap<FunctionType*, bool, FunctionTypeKeyInfo> FunctionTypeMap;
|
||||
FunctionTypeMap FunctionTypes;
|
||||
typedef DenseMap<StructType*, bool, AnonStructTypeKeyInfo> StructTypeMap;
|
||||
StructTypeMap AnonStructTypes;
|
||||
|
||||
typedef DenseSet<FunctionType *, FunctionTypeKeyInfo> FunctionTypeSet;
|
||||
FunctionTypeSet FunctionTypes;
|
||||
typedef DenseSet<StructType *, AnonStructTypeKeyInfo> StructTypeSet;
|
||||
StructTypeSet AnonStructTypes;
|
||||
StringMap<StructType*> NamedStructTypes;
|
||||
unsigned NamedStructTypesUniqueID;
|
||||
|
||||
|
Reference in New Issue
Block a user