diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-09-04 18:16:02 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-09-04 18:16:02 +0000 |
commit | 8b08904e6c7fae76a1df500c154671dcb4d00b10 (patch) | |
tree | a7b6e6824c2bfb8150feb223adffeec374503f7e /lib/Transforms/IPO | |
parent | 072bd45a36e06dd9ae0a46ce4bb029bea0ca9eae (diff) | |
download | external_llvm-8b08904e6c7fae76a1df500c154671dcb4d00b10.zip external_llvm-8b08904e6c7fae76a1df500c154671dcb4d00b10.tar.gz external_llvm-8b08904e6c7fae76a1df500c154671dcb4d00b10.tar.bz2 |
Remove dead code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189967 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO')
-rw-r--r-- | lib/Transforms/IPO/Internalize.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/Transforms/IPO/Internalize.cpp b/lib/Transforms/IPO/Internalize.cpp index 29d1a89..12d6ea1 100644 --- a/lib/Transforms/IPO/Internalize.cpp +++ b/lib/Transforms/IPO/Internalize.cpp @@ -52,8 +52,6 @@ namespace { explicit InternalizePass(); explicit InternalizePass(ArrayRef<const char *> exportList); void LoadFile(const char *Filename); - void ClearExportList(); - void AddToExportList(const std::string &val); virtual bool runOnModule(Module &M); virtual void getAnalysisUsage(AnalysisUsage &AU) const { @@ -101,14 +99,6 @@ void InternalizePass::LoadFile(const char *Filename) { } } -void InternalizePass::ClearExportList() { - ExternalNames.clear(); -} - -void InternalizePass::AddToExportList(const std::string &val) { - ExternalNames.insert(val); -} - bool InternalizePass::runOnModule(Module &M) { CallGraph *CG = getAnalysisIfAvailable<CallGraph>(); CallGraphNode *ExternalNode = CG ? CG->getExternalCallingNode() : 0; |