Add support for .skip.

Patch by Roman Divacky.
Fixes PR9361.

llvm-svn: 129106
This commit is contained in:
Rafael Espindola 2011-04-07 20:26:23 +00:00
parent 052163e6d3
commit 88bc341061
2 changed files with 6 additions and 1 deletions

View File

@ -1052,7 +1052,7 @@ bool AsmParser::ParseStatement() {
if (IDVal == ".fill")
return ParseDirectiveFill();
if (IDVal == ".space")
if (IDVal == ".space" || IDVal == ".skip")
return ParseDirectiveSpace();
if (IDVal == ".zero")
return ParseDirectiveZero();

View File

@ -9,3 +9,8 @@ TEST0:
# CHECK: .space 2,3
TEST1:
.space 2, 3
# CHECK: TEST2:
# CHECK: .space 1
TEST2:
.skip 1