projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79f4eea
)
Error on .code16 instead of producing wrong (32bit) code.
author
Roman Divacky
<rdivacky@freebsd.org>
Fri, 28 Jan 2011 19:29:48 +0000
(19:29 +0000)
committer
Roman Divacky
<rdivacky@freebsd.org>
Fri, 28 Jan 2011 19:29:48 +0000
(19:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124498
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/MC/MCParser/AsmParser.cpp
patch
|
blob
|
history
diff --git
a/lib/MC/MCParser/AsmParser.cpp
b/lib/MC/MCParser/AsmParser.cpp
index 891930d9e7c40bb9c51f9a8ec4b1047afb0ea70f..b66eeb9cf01117043bcc68279642b92b13556242 100644
(file)
--- a/
lib/MC/MCParser/AsmParser.cpp
+++ b/
lib/MC/MCParser/AsmParser.cpp
@@
-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);