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/Utils/InlineFunction.cpp | |
parent | 95778a02572d2d5e0e4bea6ef2ec95b2964c05be (diff) |
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.cpp | 2 |
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 |