mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-29 13:24:25 +00:00
Remove redundant check.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56960 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -483,15 +483,6 @@ void Verifier::VerifyFunctionAttrs(const FunctionType *FT,
|
|||||||
Assert1(!(MutI & (MutI - 1)), "Attributes " +
|
Assert1(!(MutI & (MutI - 1)), "Attributes " +
|
||||||
Attribute::getAsString(MutI) + " are incompatible!", V);
|
Attribute::getAsString(MutI) + " are incompatible!", V);
|
||||||
}
|
}
|
||||||
|
|
||||||
Attributes RAttrs = Attrs.getRetAttributes();
|
|
||||||
for (unsigned i = 0;
|
|
||||||
i < array_lengthof(Attribute::MutuallyIncompatible); ++i) {
|
|
||||||
Attributes MutI = RAttrs & Attribute::MutuallyIncompatible[i];
|
|
||||||
Assert1(!(MutI & (MutI - 1)), "Attributes " +
|
|
||||||
Attribute::getAsString(MutI) + " are incompatible!", V);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool VerifyAttributeCount(const AttrListPtr &Attrs, unsigned Params) {
|
static bool VerifyAttributeCount(const AttrListPtr &Attrs, unsigned Params) {
|
||||||
|
Reference in New Issue
Block a user