summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-10-03 18:10:49 +0000
committerBill Wendling <isanbard@gmail.com>2012-10-03 18:10:49 +0000
commit76f50f48a1cf3fc9702b5615da21d44f81b35c2d (patch)
tree8e2abd31718158edbc534c4a293b51e8193ce47e
parenteef9b8a1b54806866b8d4b6197d479f29d9b245e (diff)
downloadbcm5719-llvm-76f50f48a1cf3fc9702b5615da21d44f81b35c2d.tar.gz
bcm5719-llvm-76f50f48a1cf3fc9702b5615da21d44f81b35c2d.zip
No need to call functions which do the same thing as the default.
llvm-svn: 165135
-rw-r--r--llvm/include/llvm/Attributes.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/include/llvm/Attributes.h b/llvm/include/llvm/Attributes.h
index 381aedf9570..29700cbaf62 100644
--- a/llvm/include/llvm/Attributes.h
+++ b/llvm/include/llvm/Attributes.h
@@ -518,10 +518,6 @@ public:
/// getParamAttributes - The attributes for the specified index are
/// returned.
Attributes getParamAttributes(unsigned Idx) const {
- if (Idx == 0)
- return getRetAttributes();
- if (Idx == ~0U)
- return getFnAttributes();
return getAttributes(Idx);
}
OpenPOWER on IntegriCloud