diff options
| author | Dan Gohman <gohman@apple.com> | 2008-08-05 15:51:44 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2008-08-05 15:51:44 +0000 |
| commit | 1a70bcc38833984533c06e81f3f392521b25f7a2 (patch) | |
| tree | 32aa00c8627985da5fbabc232263a7e9480b71eb /llvm/lib/VMCore/Verifier.cpp | |
| parent | 3da016d13748fd793e1e6b3bcbd6a1f25564a4de (diff) | |
| download | bcm5719-llvm-1a70bcc38833984533c06e81f3f392521b25f7a2.tar.gz bcm5719-llvm-1a70bcc38833984533c06e81f3f392521b25f7a2.zip | |
Fix the AsmWriter to not print extra spaces after parameter attributes.
llvm-svn: 54351
Diffstat (limited to 'llvm/lib/VMCore/Verifier.cpp')
| -rw-r--r-- | llvm/lib/VMCore/Verifier.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/VMCore/Verifier.cpp b/llvm/lib/VMCore/Verifier.cpp index 00a5870a349..c093274d9de 100644 --- a/llvm/lib/VMCore/Verifier.cpp +++ b/llvm/lib/VMCore/Verifier.cpp @@ -404,18 +404,18 @@ void Verifier::VerifyAttrs(ParameterAttributes Attrs, const Type *Ty, if (isReturnValue) { ParameterAttributes RetI = Attrs & ParamAttr::ParameterOnly; Assert1(!RetI, "Attribute " + ParamAttr::getAsString(RetI) + - "does not apply to return values!", V); + " does not apply to return values!", V); } else { ParameterAttributes ParmI = Attrs & ParamAttr::ReturnOnly; Assert1(!ParmI, "Attribute " + ParamAttr::getAsString(ParmI) + - "only applies to return values!", V); + " only applies to return values!", V); } for (unsigned i = 0; i < array_lengthof(ParamAttr::MutuallyIncompatible); ++i) { ParameterAttributes MutI = Attrs & ParamAttr::MutuallyIncompatible[i]; Assert1(!(MutI & (MutI - 1)), "Attributes " + - ParamAttr::getAsString(MutI) + "are incompatible!", V); + ParamAttr::getAsString(MutI) + " are incompatible!", V); } ParameterAttributes TypeI = Attrs & ParamAttr::typeIncompatible(Ty); @@ -931,7 +931,7 @@ void Verifier::VerifyCallSite(CallSite CS) { ParameterAttributes VArgI = Attr & ParamAttr::VarArgsIncompatible; Assert1(!VArgI, "Attribute " + ParamAttr::getAsString(VArgI) + - "cannot be used for vararg call arguments!", I); + " cannot be used for vararg call arguments!", I); } visitInstruction(*I); |

