mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 06:33:24 +00:00
ARM label operands can be quoted.
For example, labels from Objective-C sources. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143511 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ed6a0c5243
commit
6284afc293
@ -3810,6 +3810,7 @@ bool ARMAsmParser::parseOperand(SmallVectorImpl<MCParsedAsmOperand*> &Operands,
|
||||
}
|
||||
case AsmToken::LParen: // parenthesized expressions like (_strcmp-4)
|
||||
case AsmToken::Integer: // things like 1f and 2b as a branch targets
|
||||
case AsmToken::String: // quoted label names.
|
||||
case AsmToken::Dot: { // . as a branch target
|
||||
// This was not a register so parse other operands that start with an
|
||||
// identifier (like labels) as expressions and create them as immediates.
|
||||
|
Loading…
x
Reference in New Issue
Block a user