diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-10-12 22:53:36 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-10-12 22:53:36 +0000 |
commit | 6e006d3de882784527d4d9cc92b1a91f6773505e (patch) | |
tree | d0892406b8d410d2a68b21868e582f4a2907306c /lib/Target/MBlaze/AsmParser/MBlazeAsmParser.cpp | |
parent | 0d218994f1ccaacd7c31792af2331ae82bc79c03 (diff) |
[ms-inline asm] Use the new API introduced in r165830 in lieu of the
MapAndConstraints vector. Also remove the unused Kind argument.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165833 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/MBlaze/AsmParser/MBlazeAsmParser.cpp')
-rw-r--r-- | lib/Target/MBlaze/AsmParser/MBlazeAsmParser.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/Target/MBlaze/AsmParser/MBlazeAsmParser.cpp b/lib/Target/MBlaze/AsmParser/MBlazeAsmParser.cpp index d1e18b24c3..9ef7dd636b 100644 --- a/lib/Target/MBlaze/AsmParser/MBlazeAsmParser.cpp +++ b/lib/Target/MBlaze/AsmParser/MBlazeAsmParser.cpp @@ -316,11 +316,9 @@ MatchAndEmitInstruction(SMLoc IDLoc, SmallVectorImpl<MCParsedAsmOperand*> &Operands, MCStreamer &Out) { MCInst Inst; - unsigned Kind; unsigned ErrorInfo; - MatchInstMapAndConstraints MapAndConstraints; - switch (MatchInstructionImpl(Operands, Kind, Inst, MapAndConstraints, - ErrorInfo, /*matchingInlineAsm*/ false)) { + switch (MatchInstructionImpl(Operands, Inst, ErrorInfo, + /*matchingInlineAsm*/ false)) { default: break; case Match_Success: Out.EmitInstruction(Inst); |