diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-07-24 14:35:44 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-07-24 14:35:44 +0000 |
commit | bb862c042fd773354645382ad0511b165b33116e (patch) | |
tree | d872ce52dfd5176d9b9c5312d96a810f3852b9c6 | |
parent | 62e279bbdb235e247fa43223ba920f97ae27e4ac (diff) |
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.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/Verifier.cpp b/lib/VMCore/Verifier.cpp index 8bebcdddce..ffca88bfab 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) { |