summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitfae8ab3088e339af403014983165abeebc202740 (patch)
tree1892cd47e93d7ea36a7f6b8051375654c9b6741f /llvm/lib/Transforms/Utils/InlineFunction.cpp
parent35630adf54118c97f9bcc5c025eeb69df3ff7a39 (diff)
downloadbcm5719-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.cpp2
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
OpenPOWER on IntegriCloud