summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCParser/AsmParser.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2011-07-27 00:38:12 +0000
committerEvan Cheng <evan.cheng@apple.com>2011-07-27 00:38:12 +0000
commit481ebb0133796c4ab60133b2aa2def732e1711ce (patch)
tree156ca925a226bc18b10139528d507fda869ad4ac /llvm/lib/MC/MCParser/AsmParser.cpp
parentf098ce2757acef6f4b7f44cb82c4e2bca091dcc7 (diff)
downloadbcm5719-llvm-481ebb0133796c4ab60133b2aa2def732e1711ce.tar.gz
bcm5719-llvm-481ebb0133796c4ab60133b2aa2def732e1711ce.zip
Support .code32 and .code64 in X86 assembler.
llvm-svn: 136197
Diffstat (limited to 'llvm/lib/MC/MCParser/AsmParser.cpp')
-rw-r--r--llvm/lib/MC/MCParser/AsmParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCParser/AsmParser.cpp b/llvm/lib/MC/MCParser/AsmParser.cpp
index 62c7dd0b0a6..eae1db0ad13 100644
--- a/llvm/lib/MC/MCParser/AsmParser.cpp
+++ b/llvm/lib/MC/MCParser/AsmParser.cpp
@@ -1146,7 +1146,7 @@ bool AsmParser::ParseStatement() {
if (IDVal == ".include")
return ParseDirectiveInclude();
- if (IDVal == ".code16" || IDVal == ".code32" || IDVal == ".code64")
+ if (IDVal == ".code16")
return TokError(Twine(IDVal) + " not supported yet");
// Look up the handler in the handler table.
OpenPOWER on IntegriCloud