Add support for .skip.

Patch by Roman Divacky.
Fixes PR9361.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129106 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola 2011-04-07 20:26:23 +00:00
parent 8d580659f9
commit ce8463f1fb
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