diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/VMCore/Instructions.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/VMCore/Instructions.cpp b/lib/VMCore/Instructions.cpp index 1d73268..8c3013b 100644 --- a/lib/VMCore/Instructions.cpp +++ b/lib/VMCore/Instructions.cpp @@ -456,14 +456,6 @@ bool CallInst::paramHasNoCaptureAttr(unsigned i) const { return false; } -bool CallInst::paramHasAttr(unsigned i, Attributes attr) const { - if (AttributeList.paramHasAttr(i, attr)) - return true; - if (const Function *F = getCalledFunction()) - return F->paramHasAttr(i, attr); - return false; -} - /// IsConstantOne - Return true only if val is constant int 1 static bool IsConstantOne(Value *val) { assert(val && "IsConstantOne does not work with NULL val"); @@ -790,14 +782,6 @@ bool InvokeInst::paramHasNoCaptureAttr(unsigned i) const { return false; } -bool InvokeInst::paramHasAttr(unsigned i, Attributes attr) const { - if (AttributeList.paramHasAttr(i, attr)) - return true; - if (const Function *F = getCalledFunction()) - return F->paramHasAttr(i, attr); - return false; -} - void InvokeInst::addAttribute(unsigned i, Attributes attr) { AttrListPtr PAL = getAttributes(); PAL = PAL.addAttr(i, attr); |