mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-27 13:30:05 +00:00
No need to call functions which do the same thing as the default.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165135 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3bd59a9a06
commit
739dc6e6d8
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user