From: Duncan P. N. Exon Smith Date: Wed, 4 Feb 2015 21:46:12 +0000 (+0000) Subject: IR: Define MDNode uniquing sets automatically, NFC X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a196629a7c495ceaddf6296fba60bcde8ae8f183;p=oota-llvm.git IR: Define MDNode uniquing sets automatically, NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228200 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/IR/LLVMContextImpl.h b/lib/IR/LLVMContextImpl.h index 8ed4e99646b..facc6241f8d 100644 --- a/lib/IR/LLVMContextImpl.h +++ b/lib/IR/LLVMContextImpl.h @@ -357,9 +357,8 @@ public: DenseMap ValuesAsMetadata; DenseMap MetadataAsValues; - DenseSet MDTuples; - DenseSet MDLocations; - DenseSet GenericDebugNodes; +#define HANDLE_MDNODE_LEAF(CLASS) DenseSet CLASS##s; +#include "llvm/IR/Metadata.def" // MDNodes may be uniqued or not uniqued. When they're not uniqued, they // aren't in the MDNodeSet, but they're still shared between objects, so no