diff options
author | Duncan Sands <baldrick@free.fr> | 2007-12-18 09:59:50 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2007-12-18 09:59:50 +0000 |
commit | 3353ed09ace5affb4448ea387dc676734ed94e10 (patch) | |
tree | 08a6c94a8d9dd23526b51a788d6a0ada0f46ef60 /llvm/lib/Transforms/Utils | |
parent | 30291f4a3014687be84e33fa0bf86fc8b2dfeb39 (diff) | |
download | bcm5719-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.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 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. |