From: Chad Rosier Date: Fri, 19 Oct 2012 23:15:00 +0000 (+0000) Subject: [ms-inline asm] Continue parsing even when we're in an ignore block. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=13090f70fc216ad94e8bc10891bca0087f3eee05;p=oota-llvm.git [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 --- diff --git a/lib/MC/MCParser/AsmParser.cpp b/lib/MC/MCParser/AsmParser.cpp index 690684f50ae..dc21c928edf 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; }