mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-05 19:57:44 +00:00
Enumerate .code16/32/64 instead of checking .code prefix. This
unbreaks some ARM tests. llvm-svn: 124608
This commit is contained in:
parent
3ff5f6ad2d
commit
254f2ab16a
@ -1065,7 +1065,7 @@ bool AsmParser::ParseStatement() {
|
||||
if (IDVal == ".include")
|
||||
return ParseDirectiveInclude();
|
||||
|
||||
if (IDVal.startswith(".code"))
|
||||
if (IDVal == ".code16" || IDVal == ".code32" || IDVal == ".code64")
|
||||
return TokError(Twine(IDVal) + " not supported yet");
|
||||
|
||||
// Look up the handler in the handler table.
|
||||
|
Loading…
x
Reference in New Issue
Block a user