Make output match actual condition tested. Thanks, Duncan.
authorReid Spencer <rspencer@reidspencer.com>
Tue, 24 Jul 2007 14:35:44 +0000 (14:35 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Tue, 24 Jul 2007 14:35:44 +0000 (14:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40464 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/Verifier.cpp

index 8bebcdddcea8cf7231f61864d2015733b30377a2..ffca88bfabc307a67c3f4ffc196f4298434698f4 100644 (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) {