From bb862c042fd773354645382ad0511b165b33116e 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40464 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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) { -- 2.34.1