summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2007-12-18 09:59:50 +0000
committerDuncan Sands <baldrick@free.fr>2007-12-18 09:59:50 +0000
commit3353ed09ace5affb4448ea387dc676734ed94e10 (patch)
tree08a6c94a8d9dd23526b51a788d6a0ada0f46ef60 /llvm/lib/Transforms/Utils
parent30291f4a3014687be84e33fa0bf86fc8b2dfeb39 (diff)
downloadbcm5719-llvm-3353ed09ace5affb4448ea387dc676734ed94e10.tar.gz
bcm5719-llvm-3353ed09ace5affb4448ea387dc676734ed94e10.zip
Rename isNoReturn to doesNotReturn, and isNoUnwind to
doesNotThrow. llvm-svn: 45160
Diffstat (limited to 'llvm/lib/Transforms/Utils')
-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 69d0e12a37c..a2b834b5869 100644
--- a/llvm/lib/Transforms/Utils/InlineFunction.cpp
+++ b/llvm/lib/Transforms/Utils/InlineFunction.cpp
@@ -70,7 +70,7 @@ static void HandleInlinedInvoke(InvokeInst *II, BasicBlock *FirstNewBlock,
CallInst *CI = cast<CallInst>(I);
// If this call cannot unwind, don't convert it to an invoke.
- if (CI->isNoUnwind())
+ if (CI->doesNotThrow())
continue;
// Convert this function call into an invoke instruction.
OpenPOWER on IntegriCloud