diff options
Diffstat (limited to 'llvm/lib/VMCore/LLVMContextImpl.h')
-rw-r--r-- | llvm/lib/VMCore/LLVMContextImpl.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/llvm/lib/VMCore/LLVMContextImpl.h b/llvm/lib/VMCore/LLVMContextImpl.h index ca37ffa9faf..a27afc08b9f 100644 --- a/llvm/lib/VMCore/LLVMContextImpl.h +++ b/llvm/lib/VMCore/LLVMContextImpl.h @@ -140,16 +140,13 @@ public: DenseMap<Type*, ConstantAggregateZero*> CAZConstants; - typedef ConstantUniqueMap<std::vector<Constant*>, ArrayRef<Constant*>, - ArrayType, ConstantArray, true /*largekey*/> ArrayConstantsTy; + typedef ConstantAggrUniqueMap<ArrayType, ConstantArray> ArrayConstantsTy; ArrayConstantsTy ArrayConstants; - typedef ConstantUniqueMap<std::vector<Constant*>, ArrayRef<Constant*>, - StructType, ConstantStruct, true /*largekey*/> StructConstantsTy; + typedef ConstantAggrUniqueMap<StructType, ConstantStruct> StructConstantsTy; StructConstantsTy StructConstants; - typedef ConstantUniqueMap<std::vector<Constant*>, ArrayRef<Constant*>, - VectorType, ConstantVector> VectorConstantsTy; + typedef ConstantAggrUniqueMap<VectorType, ConstantVector> VectorConstantsTy; VectorConstantsTy VectorConstants; DenseMap<PointerType*, ConstantPointerNull*> CPNConstants; |