diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-10-13 00:26:04 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-10-13 00:26:04 +0000 |
commit | 84125ca43c758fd21fdab2b05196e0df57c55c96 (patch) | |
tree | 539f0b38eee40c8e292f5a35a0b46cd2641edfc5 /include/llvm/MC/MCParser | |
parent | fa8cd9d64a3bd090d9176ea019a6d1b6b2051dd0 (diff) | |
download | llvm-84125ca43c758fd21fdab2b05196e0df57c55c96.tar.gz llvm-84125ca43c758fd21fdab2b05196e0df57c55c96.tar.bz2 llvm-84125ca43c758fd21fdab2b05196e0df57c55c96.tar.xz |
[ms-inline asm] Remove the MatchInstruction() function. Previously, this was
the interface between the front-end and the MC layer when parsing inline
assembly. Unfortunately, this is too deep into the parsing stack. Specifically,
we're unable to handle target-independent assembly (i.e., assembly directives,
labels, etc.). Note the MatchAndEmitInstruction() isn't the correct
abstraction either. I'll be exposing target-independent hooks shortly, so this
is really just a cleanup.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165858 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC/MCParser')
-rw-r--r-- | include/llvm/MC/MCParser/MCAsmParser.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/MC/MCParser/MCAsmParser.h b/include/llvm/MC/MCParser/MCAsmParser.h index adc960d27e..a572e6d5f0 100644 --- a/include/llvm/MC/MCParser/MCAsmParser.h +++ b/include/llvm/MC/MCParser/MCAsmParser.h @@ -73,6 +73,8 @@ public: /// Run - Run the parser on the input source buffer. virtual bool Run(bool NoInitialTextSection, bool NoFinalize = false) = 0; + virtual void setParsingInlineAsm(bool V) = 0; + /// Warning - Emit a warning at the location \p L, with the message \p Msg. /// /// \return The return value is true, if warnings are fatal. |