From a60f157b7c6fb60b33598fa5143ed8cb91aa5107 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Sat, 6 Nov 2010 10:48:18 +0000 Subject: [PATCH] Fix grammar. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118340 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/ARM/AsmParser/ARMAsmParser.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp index b41b71d4b0a..1dbf6a97963 100644 --- a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp +++ b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp @@ -261,7 +261,7 @@ public: assert(N == 2 && isMemMode5() && "Invalid number of operands!"); Inst.addOperand(MCOperand::CreateReg(Mem.BaseRegNum)); - assert(!Mem.OffsetIsReg && "invalid mode 5 operand"); + assert(!Mem.OffsetIsReg && "Invalid mode 5 operand"); // FIXME: #-0 is encoded differently than #0. Does the parser preserve // the difference? @@ -424,7 +424,7 @@ ARMOperand *ARMAsmParser::TryParseRegisterWithWriteBack() { ARMOperand *ARMAsmParser::ParseRegisterList() { SMLoc S, E; assert(Parser.getTok().is(AsmToken::LCurly) && - "Token is not an Left Curly Brace"); + "Token is not a Left Curly Brace"); S = Parser.getTok().getLoc(); Parser.Lex(); // Eat left curly brace token. @@ -486,7 +486,7 @@ ARMOperand *ARMAsmParser::ParseRegisterList() { ARMOperand *ARMAsmParser::ParseMemory() { SMLoc S, E; assert(Parser.getTok().is(AsmToken::LBrac) && - "Token is not an Left Bracket"); + "Token is not a Left Bracket"); S = Parser.getTok().getLoc(); Parser.Lex(); // Eat left bracket token. -- 2.34.1