diff options
author | Evan Cheng <evan.cheng@apple.com> | 2011-07-27 00:38:12 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2011-07-27 00:38:12 +0000 |
commit | bd27f5adbd8f3b8ab8def5aa43fbc406ac9b8cbe (patch) | |
tree | 5eff6674f6183d2f5cd829ee12e09b8c4051747e /lib/MC/MCParser | |
parent | 26a92003cd88355f5b027a2703b5016bb4b7870d (diff) | |
download | external_llvm-bd27f5adbd8f3b8ab8def5aa43fbc406ac9b8cbe.zip external_llvm-bd27f5adbd8f3b8ab8def5aa43fbc406ac9b8cbe.tar.gz external_llvm-bd27f5adbd8f3b8ab8def5aa43fbc406ac9b8cbe.tar.bz2 |
Support .code32 and .code64 in X86 assembler.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136197 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCParser')
-rw-r--r-- | lib/MC/MCParser/AsmParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MC/MCParser/AsmParser.cpp b/lib/MC/MCParser/AsmParser.cpp index 62c7dd0..eae1db0 100644 --- a/lib/MC/MCParser/AsmParser.cpp +++ b/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. |