projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
483cb51
)
Add accessor function
author
Chris Lattner
<sabre@nondot.org>
Sun, 31 Aug 2003 16:30:07 +0000
(16:30 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 31 Aug 2003 16:30:07 +0000
(16:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8253
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/IPO/PruneEH.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/IPO/PruneEH.cpp
b/lib/Transforms/IPO/PruneEH.cpp
index ee2f8c3b9b0305bb71b435c47f12290f81856b66..41f7f73845c30fd07b20b3e9fbe336a87e4c3c3f 100644
(file)
--- a/
lib/Transforms/IPO/PruneEH.cpp
+++ b/
lib/Transforms/IPO/PruneEH.cpp
@@
-30,6
+30,8
@@
namespace {
RegisterOpt<PruneEH> X("prune-eh", "Remove unused exception handling info");
}
+Pass *createPruneEHPass() { return new PruneEH(); }
+
bool PruneEH::runOnSCC(const std::vector<CallGraphNode *> &SCC) {
CallGraph &CG = getAnalysis<CallGraph>();