summaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-02-08 21:44:31 +0000
committerChris Lattner <sabre@nondot.org>2004-02-08 21:44:31 +0000
commitaeb2a1d70807aa626f335fb23d47bc604ffeaa15 (patch)
treeef4d4e8c8794fb6ddfb4148f6d5ebe91987bf72a /lib/Transforms/Utils/InlineFunction.cpp
parent95778a02572d2d5e0e4bea6ef2ec95b2964c05be (diff)
downloadllvm-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/Utils/InlineFunction.cpp')
-rw-r--r--lib/Transforms/Utils/InlineFunction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Utils/InlineFunction.cpp b/lib/Transforms/Utils/InlineFunction.cpp
index 8edf9d071b..3c88659698 100644
--- a/lib/Transforms/Utils/InlineFunction.cpp
+++ b/lib/Transforms/Utils/InlineFunction.cpp
@@ -106,7 +106,7 @@ bool llvm::InlineFunction(CallSite CS) {
// any inlined 'unwind' instructions into branches to the invoke exception
// destination, and call instructions into invoke instructions.
if (InvokeInst *II = dyn_cast<InvokeInst>(TheCall)) {
- BasicBlock *InvokeDest = II->getExceptionalDest();
+ BasicBlock *InvokeDest = II->getUnwindDest();
std::vector<Value*> InvokeDestPHIValues;
// If there are PHI nodes in the exceptional destination block, we need to