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 | 2b0e8990ab33ec2dad21286d3ce01dbb4bbe63c1 (patch) | |
| tree | bb69bcade78ca0c84fd5e621d5d07feeeb094dc0 /lib/VMCore | |
| parent | f311f53a0fbe6063d32ad0767e005c2727feb365 (diff) | |
| download | external_llvm-2b0e8990ab33ec2dad21286d3ce01dbb4bbe63c1.zip external_llvm-2b0e8990ab33ec2dad21286d3ce01dbb4bbe63c1.tar.gz external_llvm-2b0e8990ab33ec2dad21286d3ce01dbb4bbe63c1.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.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(); } //===----------------------------------------------------------------------===// |
