aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/MC/MCParser/AsmParser.cpp2
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;
}