diff options
author | Chris Lattner <sabre@nondot.org> | 2004-02-08 21:44:31 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-02-08 21:44:31 +0000 |
commit | aeb2a1d70807aa626f335fb23d47bc604ffeaa15 (patch) | |
tree | ef4d4e8c8794fb6ddfb4148f6d5ebe91987bf72a /lib/Transforms/IPO/PruneEH.cpp | |
parent | 95778a02572d2d5e0e4bea6ef2ec95b2964c05be (diff) | |
download | llvm-aeb2a1d70807aa626f335fb23d47bc604ffeaa15.tar.gz llvm-aeb2a1d70807aa626f335fb23d47bc604ffeaa15.tar.bz2 llvm-aeb2a1d70807aa626f335fb23d47bc604ffeaa15.tar.xz |
rename the "exceptional" destination of an invoke instruction to the 'unwind' dest
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11202 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO/PruneEH.cpp')
-rw-r--r-- | lib/Transforms/IPO/PruneEH.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/IPO/PruneEH.cpp b/lib/Transforms/IPO/PruneEH.cpp index 7c0a73e19b..7c4fc221c9 100644 --- a/lib/Transforms/IPO/PruneEH.cpp +++ b/lib/Transforms/IPO/PruneEH.cpp @@ -113,7 +113,7 @@ bool PruneEH::runOnSCC(const std::vector<CallGraphNode *> &SCC) { // Anything that used the value produced by the invoke instruction // now uses the value produced by the call instruction. II->replaceAllUsesWith(Call); - II->getExceptionalDest()->removePredecessor(II->getParent()); + II->getUnwindDest()->removePredecessor(II->getParent()); // Insert a branch to the normal destination right before the // invoke. |