diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2011-04-07 20:26:23 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2011-04-07 20:26:23 +0000 |
commit | ce8463f1fb223ecea1243b2274a7c18ddab6e815 (patch) | |
tree | c744ca813fb8416aa07c84142c3e4c0495f28215 /lib/MC | |
parent | 8d580659f907153add60aff386d7eac4cc80446c (diff) | |
download | external_llvm-ce8463f1fb223ecea1243b2274a7c18ddab6e815.zip external_llvm-ce8463f1fb223ecea1243b2274a7c18ddab6e815.tar.gz external_llvm-ce8463f1fb223ecea1243b2274a7c18ddab6e815.tar.bz2 |
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
Diffstat (limited to 'lib/MC')
-rw-r--r-- | lib/MC/MCParser/AsmParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MC/MCParser/AsmParser.cpp b/lib/MC/MCParser/AsmParser.cpp index ff5298f..09c92b8 100644 --- a/lib/MC/MCParser/AsmParser.cpp +++ b/lib/MC/MCParser/AsmParser.cpp @@ -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(); |