diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-08-19 01:02:18 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-08-19 01:02:18 +0000 |
commit | 344ebf7c9a11cf2d4662c8d2924d7eed7db2eea6 (patch) | |
tree | c6276c90d4bbf563ffbd490f53971436c32f9a3e /llvm/lib/IR/LLVMContextImpl.h | |
parent | 864ccec435b52ec144081df432142d58f13c1e34 (diff) | |
download | bcm5719-llvm-344ebf7c9a11cf2d4662c8d2924d7eed7db2eea6.tar.gz bcm5719-llvm-344ebf7c9a11cf2d4662c8d2924d7eed7db2eea6.zip |
IR: Replace uses of ConstantAggrUniqueMap with ConstantUniqueMap
Now that `ConstantAggrUniqueMap` and `ConstantUniqueMap` work the same
way, change the aggregates to use the new one.
llvm-svn: 215959
Diffstat (limited to 'llvm/lib/IR/LLVMContextImpl.h')
-rw-r--r-- | llvm/lib/IR/LLVMContextImpl.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/IR/LLVMContextImpl.h b/llvm/lib/IR/LLVMContextImpl.h index b6a6254ba6a..412f36db06e 100644 --- a/llvm/lib/IR/LLVMContextImpl.h +++ b/llvm/lib/IR/LLVMContextImpl.h @@ -272,13 +272,13 @@ public: DenseMap<Type*, ConstantAggregateZero*> CAZConstants; - typedef ConstantAggrUniqueMap<ArrayType, ConstantArray> ArrayConstantsTy; + typedef ConstantUniqueMap<ConstantArray> ArrayConstantsTy; ArrayConstantsTy ArrayConstants; - typedef ConstantAggrUniqueMap<StructType, ConstantStruct> StructConstantsTy; + typedef ConstantUniqueMap<ConstantStruct> StructConstantsTy; StructConstantsTy StructConstants; - typedef ConstantAggrUniqueMap<VectorType, ConstantVector> VectorConstantsTy; + typedef ConstantUniqueMap<ConstantVector> VectorConstantsTy; VectorConstantsTy VectorConstants; DenseMap<PointerType*, ConstantPointerNull*> CPNConstants; @@ -292,7 +292,7 @@ public: ConstantUniqueMap<ConstantExpr> ExprConstants; ConstantUniqueMap<InlineAsm> InlineAsms; - + ConstantInt *TheTrueVal; ConstantInt *TheFalseVal; |