summaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils/InlineFunction.cpp
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
commit2b0e8990ab33ec2dad21286d3ce01dbb4bbe63c1 (patch)
treebb69bcade78ca0c84fd5e621d5d07feeeb094dc0 /lib/Transforms/Utils/InlineFunction.cpp
parentf311f53a0fbe6063d32ad0767e005c2727feb365 (diff)
downloadllvm-2b0e8990ab33ec2dad21286d3ce01dbb4bbe63c1.tar.gz
llvm-2b0e8990ab33ec2dad21286d3ce01dbb4bbe63c1.tar.bz2
llvm-2b0e8990ab33ec2dad21286d3ce01dbb4bbe63c1.tar.xz
Rename isNoReturn to doesNotReturn, and isNoUnwind to
doesNotThrow. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45160 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/InlineFunction.cpp')
-rw-r--r--lib/Transforms/Utils/InlineFunction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Utils/InlineFunction.cpp b/lib/Transforms/Utils/InlineFunction.cpp
index 69d0e12a37..a2b834b586 100644
--- a/lib/Transforms/Utils/InlineFunction.cpp
+++ b/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.