From 26028f27ddd132b3284943e11aca130c2911abc4 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Tue, 12 Jan 2010 18:34:06 +0000 Subject: Use ilist_tratis to autoinsert and remove NamedMDNode from MDSymbolTable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93247 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/Module.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'lib/VMCore/Module.cpp') diff --git a/lib/VMCore/Module.cpp b/lib/VMCore/Module.cpp index 510f3d5bd7..503e708917 100644 --- a/lib/VMCore/Module.cpp +++ b/lib/VMCore/Module.cpp @@ -325,12 +325,6 @@ NamedMDNode *Module::getOrInsertNamedMetadata(StringRef Name) { return NMD; } -/// addMDNodeName - Insert an entry in the NamedMDNode symbol table mapping -/// Name to NMD. -void Module::addMDNodeName(StringRef Name, NamedMDNode *NMD) { - NamedMDSymTab->insert(Name, NMD); -} - //===----------------------------------------------------------------------===// // Methods for easy access to the types in the module. // -- cgit v1.2.3