mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-28 14:10:55 +00:00
[ms-inline asm] Add the helper function, isParseringInlineAsm(). To be used in a future commit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166054 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
be6f884afc
commit
c5ac87d067
@ -75,6 +75,7 @@ public:
|
||||
virtual bool Run(bool NoInitialTextSection, bool NoFinalize = false) = 0;
|
||||
|
||||
virtual void setParsingInlineAsm(bool V) = 0;
|
||||
virtual bool isParsingInlineAsm() = 0;
|
||||
|
||||
/// ParseStatement - Parse the next statement.
|
||||
virtual bool ParseStatement() = 0;
|
||||
|
@ -182,6 +182,7 @@ public:
|
||||
|
||||
bool ParseStatement();
|
||||
void setParsingInlineAsm(bool V) { ParsingInlineAsm = V; }
|
||||
bool isParsingInlineAsm() { return ParsingInlineAsm; }
|
||||
unsigned getNumParsedOperands() { return ParsedOperands.size(); }
|
||||
MCParsedAsmOperand &getParsedOperand(unsigned OpNum) {
|
||||
assert (ParsedOperands.size() > OpNum);
|
||||
|
Loading…
Reference in New Issue
Block a user