summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM
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
commite38bb6a34eaad783e41e31588ad414d8c93e9bff (patch)
tree89ba100f034ba6d2bb6fec905ff772c9da330017 /llvm/lib/Target/ARM
parent10f14bcbda8275039b2759f3f9d7aacffbc5fbe8 (diff)
downloadbcm5719-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.cpp5
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:
OpenPOWER on IntegriCloud