mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-28 14:36:34 +00:00
Remove redundant check.
llvm-svn: 56960
This commit is contained in:
parent
c589085710
commit
92bd02d528
@ -483,15 +483,6 @@ void Verifier::VerifyFunctionAttrs(const FunctionType *FT,
|
||||
Assert1(!(MutI & (MutI - 1)), "Attributes " +
|
||||
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user