diff options
Diffstat (limited to 'lib/VMCore/Instructions.cpp')
-rw-r--r-- | lib/VMCore/Instructions.cpp | 6 |
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(); } //===----------------------------------------------------------------------===// |