projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f7f727
)
[ms-inline asm] Continue parsing even when we're in an ignore block.
author
Chad Rosier
<mcrosier@apple.com>
Fri, 19 Oct 2012 23:15:00 +0000
(23:15 +0000)
committer
Chad Rosier
<mcrosier@apple.com>
Fri, 19 Oct 2012 23:15:00 +0000
(23:15 +0000)
llvm-svn: 166352
llvm/lib/MC/MCParser/AsmParser.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/MC/MCParser/AsmParser.cpp
b/llvm/lib/MC/MCParser/AsmParser.cpp
index
690684f
..
dc21c92
100644
(file)
--- a/
llvm/lib/MC/MCParser/AsmParser.cpp
+++ b/
llvm/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;
}