diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2010-11-17 16:15:42 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2010-11-17 16:15:42 +0000 |
commit | 110f22aae897c348c97c09bbab8de12b3e82251d (patch) | |
tree | 8c3c31fbed97ab14d816599feb308a1de7a15145 /lib | |
parent | abc756216dbace87826398f8fa1e8e57e401cc86 (diff) | |
download | external_llvm-110f22aae897c348c97c09bbab8de12b3e82251d.zip external_llvm-110f22aae897c348c97c09bbab8de12b3e82251d.tar.gz external_llvm-110f22aae897c348c97c09bbab8de12b3e82251d.tar.bz2 |
Add support for .2byte, .4byte and .8byte.
Fixes PR8631.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119511 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/MC/MCParser/AsmParser.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/MC/MCParser/AsmParser.cpp b/lib/MC/MCParser/AsmParser.cpp index cbd1810..38b7b27 100644 --- a/lib/MC/MCParser/AsmParser.cpp +++ b/lib/MC/MCParser/AsmParser.cpp @@ -947,10 +947,16 @@ bool AsmParser::ParseStatement() { return ParseDirectiveValue(2); if (IDVal == ".value") return ParseDirectiveValue(2); + if (IDVal == ".2byte") + return ParseDirectiveValue(2); if (IDVal == ".long") return ParseDirectiveValue(4); + if (IDVal == ".4byte") + return ParseDirectiveValue(4); if (IDVal == ".quad") return ParseDirectiveValue(8); + if (IDVal == ".8byte") + return ParseDirectiveValue(8); if (IDVal == ".single") return ParseDirectiveRealValue(APFloat::IEEEsingle); if (IDVal == ".double") |