mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-21 21:29:41 +00:00
Remove dead code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189967 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
072bd45a36
commit
8b08904e6c
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user