mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-07 12:28:24 +00:00
Thumb .n mnemonic qualifiers can be ignored for now.
We'll need to pay attention to them when we start getting more serious about the details of parsing thumb2 assembly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138500 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -3015,6 +3015,10 @@ bool ARMAsmParser::ParseInstruction(StringRef Name, SMLoc NameLoc,
|
||||
Next = Name.find('.', Start + 1);
|
||||
StringRef ExtraToken = Name.slice(Start, Next);
|
||||
|
||||
// For now, we're only parsing Thumb1 (for the most part), so
|
||||
// just ignore ".n" qualifiers. We'll use them to restrict
|
||||
// matching when we do Thumb2.
|
||||
if (ExtraToken != ".n")
|
||||
Operands.push_back(ARMOperand::CreateToken(ExtraToken, NameLoc));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user