From aeb2a1d70807aa626f335fb23d47bc604ffeaa15 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 8 Feb 2004 21:44:31 +0000 Subject: 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 --- lib/Transforms/Utils/InlineFunction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Transforms/Utils/InlineFunction.cpp') 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(TheCall)) { - BasicBlock *InvokeDest = II->getExceptionalDest(); + BasicBlock *InvokeDest = II->getUnwindDest(); std::vector InvokeDestPHIValues; // If there are PHI nodes in the exceptional destination block, we need to -- cgit v1.2.3-18-g5258