forked from OSchip/llvm-project
[ms-inline asm] Accept the emit directive as either _emit or __emit.
llvm-svn: 174998
This commit is contained in:
parent
62b943935d
commit
93d629fdb8
|
@ -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