summaryrefslogtreecommitdiff
path: root/include/llvm/MC/MCTargetAsmParser.h
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-09-03 02:06:46 +0000
committerChad Rosier <mcrosier@apple.com>2012-09-03 02:06:46 +0000
commit3a86e1396230748f17a521915bc802939a787eac (patch)
tree9cef06bba2fc5e5a64a5816a7cdc2b0496667e51 /include/llvm/MC/MCTargetAsmParser.h
parent61290e3845a9cae85f26468e4367a598c0f3f6c1 (diff)
downloadllvm-3a86e1396230748f17a521915bc802939a787eac.tar.gz
llvm-3a86e1396230748f17a521915bc802939a787eac.tar.bz2
llvm-3a86e1396230748f17a521915bc802939a787eac.tar.xz
[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/llvm/MC/MCTargetAsmParser.h')
-rw-r--r--include/llvm/MC/MCTargetAsmParser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/MC/MCTargetAsmParser.h b/include/llvm/MC/MCTargetAsmParser.h
index 714d9ef583..40daab888c 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,