diff options
Diffstat (limited to 'llvm/tools')
| -rw-r--r-- | llvm/tools/llvm-mc/AsmParser.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-mc/AsmParser.cpp b/llvm/tools/llvm-mc/AsmParser.cpp index b766830bf14..eec4cc8829b 100644 --- a/llvm/tools/llvm-mc/AsmParser.cpp +++ b/llvm/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);  | 

