mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-09 01:38:03 +00:00
Move comment to appropriate place.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147000 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
990d639f55
commit
3cbe43fe69
@ -4297,7 +4297,6 @@ bool ARMAsmParser::parseOperand(SmallVectorImpl<MCParsedAsmOperand*> &Operands,
|
||||
Error(Parser.getTok().getLoc(), "unexpected token in operand");
|
||||
return true;
|
||||
case AsmToken::Identifier: {
|
||||
// If this is VMRS, check for the apsr_nzcv operand.
|
||||
if (!tryParseRegisterWithWriteBack(Operands))
|
||||
return false;
|
||||
int Res = tryParseShiftRegister(Operands);
|
||||
@ -4305,6 +4304,7 @@ bool ARMAsmParser::parseOperand(SmallVectorImpl<MCParsedAsmOperand*> &Operands,
|
||||
return false;
|
||||
else if (Res == -1) // irrecoverable error
|
||||
return true;
|
||||
// If this is VMRS, check for the apsr_nzcv operand.
|
||||
if (Mnemonic == "vmrs" && Parser.getTok().getString() == "apsr_nzcv") {
|
||||
S = Parser.getTok().getLoc();
|
||||
Parser.Lex();
|
||||
|
Loading…
x
Reference in New Issue
Block a user