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 | e38bb6a34eaad783e41e31588ad414d8c93e9bff (patch) | |
| tree | 89ba100f034ba6d2bb6fec905ff772c9da330017 /llvm/lib/Target/ARM | |
| parent | 10f14bcbda8275039b2759f3f9d7aacffbc5fbe8 (diff) | |
| download | bcm5719-llvm-e38bb6a34eaad783e41e31588ad414d8c93e9bff.tar.gz bcm5719-llvm-e38bb6a34eaad783e41e31588ad414d8c93e9bff.zip | |
[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.
llvm-svn: 163101
Diffstat (limited to 'llvm/lib/Target/ARM')
| -rw-r--r-- | llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp index 646b64fb069..ebb0f8d8de5 100644 --- a/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp +++ b/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp @@ -7456,9 +7456,12 @@ MatchAndEmitInstruction(SMLoc IDLoc, SmallVectorImpl<MCParsedAsmOperand*> &Operands, MCStreamer &Out) { MCInst Inst; + unsigned Kind; + unsigned Opcode; unsigned ErrorInfo; unsigned MatchResult; - MatchResult = MatchInstructionImpl(Operands, Inst, ErrorInfo); + + MatchResult = MatchInstructionImpl(Operands, Kind, Opcode, Inst, ErrorInfo); switch (MatchResult) { default: break; case Match_Success: |

