aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore
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
commit7dc19d416c29a99bcdbb6e46fada84bc1bb45d32 (patch)
treebb69bcade78ca0c84fd5e621d5d07feeeb094dc0 /lib/VMCore
parent5705edb268299a444e214471f2e2c85ce4df18dd (diff)
downloadexternal_llvm-7dc19d416c29a99bcdbb6e46fada84bc1bb45d32.zip
external_llvm-7dc19d416c29a99bcdbb6e46fada84bc1bb45d32.tar.gz
external_llvm-7dc19d416c29a99bcdbb6e46fada84bc1bb45d32.tar.bz2
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/VMCore')
-rw-r--r--lib/VMCore/Instructions.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/VMCore/Instructions.cpp b/lib/VMCore/Instructions.cpp
index 6c8a072..3531bad 100644
--- a/lib/VMCore/Instructions.cpp
+++ b/lib/VMCore/Instructions.cpp
@@ -65,11 +65,11 @@ bool CallSite::onlyReadsMemory() const {
else
return cast<InvokeInst>(I)->onlyReadsMemory();
}
-bool CallSite::isNoUnwind() const {
+bool CallSite::doesNotThrow() const {
if (CallInst *CI = dyn_cast<CallInst>(I))
- return CI->isNoUnwind();
+ return CI->doesNotThrow();
else
- return cast<InvokeInst>(I)->isNoUnwind();
+ return cast<InvokeInst>(I)->doesNotThrow();
}
//===----------------------------------------------------------------------===//