commit | 7dc19d416c29a99bcdbb6e46fada84bc1bb45d32 | [log] [tgz] |
---|---|---|
author | Duncan Sands <baldrick@free.fr> | Tue Dec 18 09:59:50 2007 +0000 |
committer | Duncan Sands <baldrick@free.fr> | Tue Dec 18 09:59:50 2007 +0000 |
tree | bb69bcade78ca0c84fd5e621d5d07feeeb094dc0 | |
parent | 5705edb268299a444e214471f2e2c85ce4df18dd [diff] |
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
diff --git a/lib/Transforms/Utils/InlineFunction.cpp b/lib/Transforms/Utils/InlineFunction.cpp index 69d0e12..a2b834b 100644 --- a/lib/Transforms/Utils/InlineFunction.cpp +++ b/lib/Transforms/Utils/InlineFunction.cpp
@@ -70,7 +70,7 @@ 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.