From 4e179b88aadecf0521e2863da893d94b25d13189 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Tue, 24 Jul 2007 14:35:44 +0000 Subject: [PATCH] Make output match actual condition tested. Thanks, Duncan. llvm-svn: 40464 --- lib/VMCore/Verifier.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/VMCore/Verifier.cpp b/lib/VMCore/Verifier.cpp index 8bebcdddcea..ffca88bfabc 100644 --- a/lib/VMCore/Verifier.cpp +++ b/lib/VMCore/Verifier.cpp @@ -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) {