mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 06:25:18 +00:00
Use method to query for attributes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165209 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -2063,7 +2063,7 @@ static void ChangeCalleesToFastCall(Function *F) {
|
||||
|
||||
static AttrListPtr StripNest(const AttrListPtr &Attrs) {
|
||||
for (unsigned i = 0, e = Attrs.getNumSlots(); i != e; ++i) {
|
||||
if ((Attrs.getSlot(i).Attrs & Attribute::Nest) == 0)
|
||||
if (!Attrs.getSlot(i).Attrs.hasNestAttr())
|
||||
continue;
|
||||
|
||||
// There can be only one.
|
||||
|
Reference in New Issue
Block a user