diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-09-03 02:06:46 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-09-03 02:06:46 +0000 |
commit | 3a86e1396230748f17a521915bc802939a787eac (patch) | |
tree | 9cef06bba2fc5e5a64a5816a7cdc2b0496667e51 /include | |
parent | 61290e3845a9cae85f26468e4367a598c0f3f6c1 (diff) | |
download | external_llvm-3a86e1396230748f17a521915bc802939a787eac.zip external_llvm-3a86e1396230748f17a521915bc802939a787eac.tar.gz external_llvm-3a86e1396230748f17a521915bc802939a787eac.tar.bz2 |
[ms-inline asm] Expose the Kind and Opcode variables from the
MatchInstructionImpl() function.
These values are used by the ConvertToMCInst() function to index into the
ConversionTable. The values are also needed to call the GetMCInstOperandNum()
function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163101 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/MC/MCTargetAsmParser.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/MC/MCTargetAsmParser.h b/include/llvm/MC/MCTargetAsmParser.h index 714d9ef..40daab8 100644 --- a/include/llvm/MC/MCTargetAsmParser.h +++ b/include/llvm/MC/MCTargetAsmParser.h @@ -85,7 +85,7 @@ public: /// On failure, the target parser is responsible for emitting a diagnostic /// explaining the match failure. virtual bool - MatchInstruction(SMLoc IDLoc, + MatchInstruction(SMLoc IDLoc, unsigned &Kind, unsigned &Opcode, SmallVectorImpl<MCParsedAsmOperand*> &Operands, SmallVectorImpl<MCInst> &MCInsts, unsigned &OrigErrorInfo, |