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/VMCore/Instructions.cpp | |
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/VMCore/Instructions.cpp')
-rw-r--r-- | llvm/lib/VMCore/Instructions.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/VMCore/Instructions.cpp b/llvm/lib/VMCore/Instructions.cpp index 6c8a072c197..3531bad2e49 100644 --- a/llvm/lib/VMCore/Instructions.cpp +++ b/llvm/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(); } //===----------------------------------------------------------------------===// |