diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/llvm-mc/AsmParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-mc/AsmParser.cpp b/tools/llvm-mc/AsmParser.cpp index b766830..eec4cc8 100644 --- a/tools/llvm-mc/AsmParser.cpp +++ b/tools/llvm-mc/AsmParser.cpp @@ -517,7 +517,7 @@ bool AsmParser::ParseStatement() { // FIXME: Target hooks for size? Also for "word", "hword". if (IDVal == ".byte") return ParseDirectiveValue(1); - if (IDVal == ".short") + if (IDVal == ".short" || IDVal == ".word") return ParseDirectiveValue(2); if (IDVal == ".long") return ParseDirectiveValue(4); |