diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-01-19 23:13:14 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-01-19 23:13:14 +0000 |
commit | 2bc00f4a383549386c471db17cacb08cc9e53a0d (patch) | |
tree | c6f5472bea9573cc14b64f22d2fa4d2837df42b9 /llvm/lib/IR/LLVMContextImpl.h | |
parent | 93e983e70796b047d4a798d23b536ba7ef111565 (diff) | |
download | bcm5719-llvm-2bc00f4a383549386c471db17cacb08cc9e53a0d.tar.gz bcm5719-llvm-2bc00f4a383549386c471db17cacb08cc9e53a0d.zip |
IR: Merge UniquableMDNode back into MDNode, NFC
As pointed out in r226501, the distinction between `MDNode` and
`UniquableMDNode` is confusing. When we need subclasses of `MDNode`
that don't use all its functionality it might make sense to break it
apart again, but until then this makes the code clearer.
llvm-svn: 226520
Diffstat (limited to 'llvm/lib/IR/LLVMContextImpl.h')
-rw-r--r-- | llvm/lib/IR/LLVMContextImpl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/LLVMContextImpl.h b/llvm/lib/IR/LLVMContextImpl.h index 729e48be083..092104f6d0e 100644 --- a/llvm/lib/IR/LLVMContextImpl.h +++ b/llvm/lib/IR/LLVMContextImpl.h @@ -320,7 +320,7 @@ public: // aren't in the MDNodeSet, but they're still shared between objects, so no // one object can destroy them. This set allows us to at least destroy them // on Context destruction. - SmallPtrSet<UniquableMDNode *, 1> DistinctMDNodes; + SmallPtrSet<MDNode *, 1> DistinctMDNodes; DenseMap<Type*, ConstantAggregateZero*> CAZConstants; |