mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-10 02:36:06 +00:00
Fix grammar.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118340 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d68fd9c79e
commit
a60f157b7c
@ -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.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user