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/Transforms/Scalar/InstructionCombining.cpp | |
parent | f311f53a0fbe6063d32ad0767e005c2727feb365 (diff) |
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/Transforms/Scalar/InstructionCombining.cpp')
-rw-r--r-- | lib/Transforms/Scalar/InstructionCombining.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp index acda89bfe0..d64afbbda1 100644 --- a/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/lib/Transforms/Scalar/InstructionCombining.cpp @@ -8039,7 +8039,7 @@ Instruction *InstCombiner::visitCallSite(CallSite CS) { } } - if (isa<InlineAsm>(Callee) && !CS.isNoUnwind()) { + if (isa<InlineAsm>(Callee) && !CS.paramHasAttr(0, ParamAttr::NoUnwind)) { // Inline asm calls cannot throw - mark them 'nounwind'. const ParamAttrsList *PAL = CS.getParamAttrs(); uint16_t RAttributes = PAL ? PAL->getParamAttrs(0) : 0; |