summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-10-12 22:53:36 +0000
committerChad Rosier <mcrosier@apple.com>2012-10-12 22:53:36 +0000
commit2f480a8a50727c0aca1da9b37f29e15168175988 (patch)
tree9b193a3fb30d5f8d6e95d131b2435f503810a560 /llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
parent8e23642cd186d76ba08f62000ee96ef38f80061c (diff)
downloadbcm5719-llvm-2f480a8a50727c0aca1da9b37f29e15168175988.tar.gz
bcm5719-llvm-2f480a8a50727c0aca1da9b37f29e15168175988.zip
[ms-inline asm] Use the new API introduced in r165830 in lieu of the
MapAndConstraints vector. Also remove the unused Kind argument. llvm-svn: 165833
Diffstat (limited to 'llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp')
-rw-r--r--llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp b/llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
index c2980ffeea8..c94c6614aed 100644
--- a/llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
+++ b/llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
@@ -456,11 +456,8 @@ MatchAndEmitInstruction(SMLoc IDLoc,
SmallVectorImpl<MCParsedAsmOperand*> &Operands,
MCStreamer &Out) {
MCInst Inst;
- unsigned Kind;
unsigned ErrorInfo;
- MatchInstMapAndConstraints MapAndConstraints;
- unsigned MatchResult = MatchInstructionImpl(Operands, Kind, Inst,
- MapAndConstraints, ErrorInfo,
+ unsigned MatchResult = MatchInstructionImpl(Operands, Inst, ErrorInfo,
/*matchingInlineAsm*/ false);
switch (MatchResult) {
OpenPOWER on IntegriCloud