aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReid Spencer <reid@x10sys.com>2007-07-24 14:35:44 +0000
committerReid Spencer <reid@x10sys.com>2007-07-24 14:35:44 +0000
commitf63144c2294fd27ee42f639623dae9c91f7c7e5b (patch)
treed872ce52dfd5176d9b9c5312d96a810f3852b9c6
parent34ef1449c5cbee6fa5b97e31eb7df2d8477c646a (diff)
downloadexternal_llvm-f63144c2294fd27ee42f639623dae9c91f7c7e5b.zip
external_llvm-f63144c2294fd27ee42f639623dae9c91f7c7e5b.tar.gz
external_llvm-f63144c2294fd27ee42f639623dae9c91f7c7e5b.tar.bz2
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
-rw-r--r--lib/VMCore/Verifier.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/Verifier.cpp b/lib/VMCore/Verifier.cpp
index 8bebcdd..ffca88b 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) {