Make output match actual condition tested. Thanks, Duncan.

llvm-svn: 40464
This commit is contained in:
Reid Spencer 2007-07-24 14:35:44 +00:00
parent aa2a753350
commit 4e179b88aa

View File

@ -367,7 +367,7 @@ void Verifier::visitFunction(Function &F) {
Assert1(!Attrs->paramHasAttr(0, ParamAttr::StructRet),
"Attribute SRet should not apply to functions!", &F);
Assert1(!Attrs->paramHasAttr(0, ParamAttr::InReg),
"Attribute SRet should not apply to functions!", &F);
"Attribute InReg should not apply to functions!", &F);
for (FunctionType::param_iterator I = FT->param_begin(),
E = FT->param_end(); I != E; ++I, ++Idx) {