diff options
author | Gabor Greif <ggreif@gmail.com> | 2009-03-07 10:49:57 +0000 |
---|---|---|
committer | Gabor Greif <ggreif@gmail.com> | 2009-03-07 10:49:57 +0000 |
commit | a4c2ff8891da027fe67394cf00a2d594cee3fbf4 (patch) | |
tree | d30ba489eb92d2c50941b170fe2348ab00051ecf /lib | |
parent | 260c0ade6aa30bce4f0fe2d92e6fe6e3effe539c (diff) | |
download | external_llvm-a4c2ff8891da027fe67394cf00a2d594cee3fbf4.zip external_llvm-a4c2ff8891da027fe67394cf00a2d594cee3fbf4.tar.gz external_llvm-a4c2ff8891da027fe67394cf00a2d594cee3fbf4.tar.bz2 |
further simplifications arising from peruse of the more declarative interface
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66333 91177308-0d34-0410-b5e6-96231b3b80d8
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>; |