mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-03 13:31:05 +00:00
[ms-inline asm] Accept the emit directive as either _emit or __emit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174998 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8c0d29fee9
commit
ab9d251e85
@ -1446,8 +1446,8 @@ bool AsmParser::ParseStatement(ParseStatementInfo &Info) {
|
||||
return Error(IDLoc, "unknown directive");
|
||||
}
|
||||
|
||||
// _emit
|
||||
if (ParsingInlineAsm && IDVal == "_emit")
|
||||
// _emit or __emit
|
||||
if (ParsingInlineAsm && (IDVal == "_emit" || IDVal == "__emit"))
|
||||
return ParseDirectiveEmit(IDLoc, Info);
|
||||
|
||||
CheckForValidSection();
|
||||
|
Loading…
Reference in New Issue
Block a user