aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-10-09 05:54:39 +0000
committerBill Wendling <isanbard@gmail.com>2012-10-09 05:54:39 +0000
commit50cf36351cefbc64bca9b82b4a3897394feecac7 (patch)
treef2ad4236dd7cfe87e299b7cd4f496738c5823aed /lib
parent1d872103fa200d9ad59f20543983e29fa8a97a00 (diff)
downloadexternal_llvm-50cf36351cefbc64bca9b82b4a3897394feecac7.tar.gz
external_llvm-50cf36351cefbc64bca9b82b4a3897394feecac7.tar.bz2
external_llvm-50cf36351cefbc64bca9b82b4a3897394feecac7.zip
Remove some dead methods.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165485 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/VMCore/Instructions.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/VMCore/Instructions.cpp b/lib/VMCore/Instructions.cpp
index 1d73268723..8c3013b0bb 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);