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 | fae8ab3088e339af403014983165abeebc202740 (patch) | |
tree | 1892cd47e93d7ea36a7f6b8051375654c9b6741f /llvm/lib/Transforms/Utils/InlineFunction.cpp | |
parent | 35630adf54118c97f9bcc5c025eeb69df3ff7a39 (diff) | |
download | bcm5719-llvm-fae8ab3088e339af403014983165abeebc202740.tar.gz bcm5719-llvm-fae8ab3088e339af403014983165abeebc202740.zip |
rename the "exceptional" destination of an invoke instruction to the 'unwind' dest
llvm-svn: 11202
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/InlineFunction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/InlineFunction.cpp b/llvm/lib/Transforms/Utils/InlineFunction.cpp index 8edf9d071b1..3c886596983 100644 --- a/llvm/lib/Transforms/Utils/InlineFunction.cpp +++ b/llvm/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 |