1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

[ms-inline asm] Continue parsing even when we're in an ignore block.

llvm-svn: 166352
This commit is contained in:
Chad Rosier 2012-10-19 23:15:00 +00:00
parent 8fe03aa4c1
commit 03179afe79

View File

@ -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;
}