Add support for .value.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117922 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola 2010-11-01 15:29:07 +00:00
parent 484291c273
commit cc3acee7b3
2 changed files with 6 additions and 0 deletions

View File

@ -929,6 +929,8 @@ bool AsmParser::ParseStatement() {
return ParseDirectiveValue(1);
if (IDVal == ".short")
return ParseDirectiveValue(2);
if (IDVal == ".value")
return ParseDirectiveValue(2);
if (IDVal == ".long")
return ParseDirectiveValue(4);
if (IDVal == ".quad")

View File

@ -36,3 +36,7 @@ TEST4:
# CHECK: .quad 1075
TEST5:
.value 8
# CHECK: TEST5:
# CHECK: .short 8