Rename isNoReturn to doesNotReturn, and isNoUnwind to
doesNotThrow.
llvm-svn: 45160
diff --git a/llvm/lib/VMCore/Instructions.cpp b/llvm/lib/VMCore/Instructions.cpp
index 6c8a072..3531bad 100644
--- a/llvm/lib/VMCore/Instructions.cpp
+++ b/llvm/lib/VMCore/Instructions.cpp
@@ -65,11 +65,11 @@
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();
}
//===----------------------------------------------------------------------===//