[llvm-commits] [llvm] r40464 - /llvm/trunk/lib/VMCore/Verifier.cpp

Reid Spencer rspencer at reidspencer.com
Tue Jul 24 07:35:45 PDT 2007


Author: reid
Date: Tue Jul 24 09:35:44 2007
New Revision: 40464

URL: http://llvm.org/viewvc/llvm-project?rev=40464&view=rev
Log:
Make output match actual condition tested. Thanks, Duncan.

Modified:
    llvm/trunk/lib/VMCore/Verifier.cpp

Modified: llvm/trunk/lib/VMCore/Verifier.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/Verifier.cpp?rev=40464&r1=40463&r2=40464&view=diff

==============================================================================
--- llvm/trunk/lib/VMCore/Verifier.cpp (original)
+++ llvm/trunk/lib/VMCore/Verifier.cpp Tue Jul 24 09:35:44 2007
@@ -367,7 +367,7 @@
     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) {





More information about the llvm-commits mailing list