mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-02 22:23:10 +00:00
Remove the now dead VarArgsIncompatible variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165496 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1170,9 +1170,8 @@ void Verifier::VerifyCallSite(CallSite CS) {
|
||||
|
||||
VerifyParameterAttrs(Attr, CS.getArgument(Idx-1)->getType(), false, I);
|
||||
|
||||
Attributes VArgI = Attr & Attribute::VarArgsIncompatible;
|
||||
Assert1(!VArgI, "Attribute " + VArgI.getAsString() +
|
||||
" cannot be used for vararg call arguments!", I);
|
||||
Assert1(!Attr.hasIncompatibleWithVarArgsAttrs(),
|
||||
"Attribute 'sret' cannot be used for vararg call arguments!", I);
|
||||
}
|
||||
|
||||
// Verify that there's no metadata unless it's a direct call to an intrinsic.
|
||||
|
||||
Reference in New Issue
Block a user