diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/VMCore/BasicBlock.cpp | 4 | ||||
-rw-r--r-- | lib/VMCore/Function.cpp | 7 | ||||
-rw-r--r-- | lib/VMCore/Module.cpp | 10 |
3 files changed, 0 insertions, 21 deletions
diff --git a/lib/VMCore/BasicBlock.cpp b/lib/VMCore/BasicBlock.cpp index 66ee99d..f682231 100644 --- a/lib/VMCore/BasicBlock.cpp +++ b/lib/VMCore/BasicBlock.cpp @@ -31,10 +31,6 @@ ilist_traits<Instruction>::getSymTab(BasicBlock *BB) { return 0; } -iplist<Instruction> &ilist_traits<Instruction>::getList(BasicBlock *BB) { - return BB->getInstList(); -} - // Explicit instantiation of SymbolTableListTraits since some of the methods // are not in the public header file... template class SymbolTableListTraits<Instruction, BasicBlock>; diff --git a/lib/VMCore/Function.cpp b/lib/VMCore/Function.cpp index 258158f..3a991f6 100644 --- a/lib/VMCore/Function.cpp +++ b/lib/VMCore/Function.cpp @@ -22,13 +22,6 @@ #include "llvm/ADT/StringExtras.h" using namespace llvm; -iplist<BasicBlock> &ilist_traits<BasicBlock>::getList(Function *F) { - return F->getBasicBlockList(); -} - -iplist<Argument> &ilist_traits<Argument>::getList(Function *F) { - return F->getArgumentList(); -} // Explicit instantiations of SymbolTableListTraits since some of the methods // are not in the public header file... diff --git a/lib/VMCore/Module.cpp b/lib/VMCore/Module.cpp index 47233ae..25d297a 100644 --- a/lib/VMCore/Module.cpp +++ b/lib/VMCore/Module.cpp @@ -52,16 +52,6 @@ GlobalAlias *ilist_traits<GlobalAlias>::createSentinel() { return Ret; } -iplist<Function> &ilist_traits<Function>::getList(Module *M) { - return M->getFunctionList(); -} -iplist<GlobalVariable> &ilist_traits<GlobalVariable>::getList(Module *M) { - return M->getGlobalList(); -} -iplist<GlobalAlias> &ilist_traits<GlobalAlias>::getList(Module *M) { - return M->getAliasList(); -} - // Explicit instantiations of SymbolTableListTraits since some of the methods // are not in the public header file. template class SymbolTableListTraits<GlobalVariable, Module>; |