diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-10-19 23:15:00 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-10-19 23:15:00 +0000 |
commit | 13090f70fc216ad94e8bc10891bca0087f3eee05 (patch) | |
tree | 7e2a86af7620480b33909739547f7818794aaf6f /lib/MC | |
parent | 5dbe64e2bc2e4b96654703e85f909536df7ddb84 (diff) | |
download | external_llvm-13090f70fc216ad94e8bc10891bca0087f3eee05.zip external_llvm-13090f70fc216ad94e8bc10891bca0087f3eee05.tar.gz external_llvm-13090f70fc216ad94e8bc10891bca0087f3eee05.tar.bz2 |
[ms-inline asm] Continue parsing even when we're in an ignore block.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166352 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 690684f..dc21c92 100644 --- a/lib/MC/MCParser/AsmParser.cpp +++ b/lib/MC/MCParser/AsmParser.cpp @@ -1138,7 +1138,7 @@ bool AsmParser::ParseStatement() { return ParseDirectiveEndIf(IDLoc); // If we are in a ".if 0" block, ignore this statement. - if (TheCondState.Ignore) { + if (TheCondState.Ignore && !ParsingInlineAsm) { EatToEndOfStatement(); return false; } |