Add support for .value.

llvm-svn: 117922
This commit is contained in:
Rafael Espindola 2010-11-01 15:29:07 +00:00
parent 7a38cb0144
commit a7f92c500c
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