No need to call functions which do the same thing as the default.

llvm-svn: 165135
This commit is contained in:
Bill Wendling 2012-10-03 18:10:49 +00:00
parent eef9b8a1b5
commit 76f50f48a1
1 changed files with 0 additions and 4 deletions

View File

@ -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);
}