mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
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:
parent
8d580659f9
commit
ce8463f1fb
@ -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();
|
||||
|
@ -9,3 +9,8 @@ TEST0:
|
||||
# CHECK: .space 2,3
|
||||
TEST1:
|
||||
.space 2, 3
|
||||
|
||||
# CHECK: TEST2:
|
||||
# CHECK: .space 1
|
||||
TEST2:
|
||||
.skip 1
|
||||
|
Loading…
Reference in New Issue
Block a user