mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
Error on .code16 instead of producing wrong (32bit) code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124498 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
79f4eea7a3
commit
cb72780176
@ -1065,6 +1065,9 @@ bool AsmParser::ParseStatement() {
|
||||
if (IDVal == ".include")
|
||||
return ParseDirectiveInclude();
|
||||
|
||||
if (IDVal == ".code16")
|
||||
return TokError(".code16 not supported yet");
|
||||
|
||||
// Look up the handler in the handler table.
|
||||
std::pair<MCAsmParserExtension*, DirectiveHandler> Handler =
|
||||
DirectiveMap.lookup(IDVal);
|
||||
|
Loading…
Reference in New Issue
Block a user