diff options
| author | Chad Rosier <mcrosier@apple.com> | 2012-09-24 22:57:55 +0000 |
|---|---|---|
| committer | Chad Rosier <mcrosier@apple.com> | 2012-09-24 22:57:55 +0000 |
| commit | c4734c8950c3b4ba92b7997767068e75acccb4f1 (patch) | |
| tree | 4f86ac5e0f25bc4689e66e59fe7352025689ca22 /llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp | |
| parent | 61740f6649173ec2d1e74dc3e11c3245fae8e0fb (diff) | |
| download | bcm5719-llvm-c4734c8950c3b4ba92b7997767068e75acccb4f1.tar.gz bcm5719-llvm-c4734c8950c3b4ba92b7997767068e75acccb4f1.zip | |
Rather then have a wrapper function, have tblgen instantiate the implementation.
Also remove an unused argument.
llvm-svn: 164567
Diffstat (limited to 'llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp')
| -rw-r--r-- | llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp b/llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp index 8418b7542f2..b1ada100f49 100644 --- a/llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp +++ b/llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp @@ -58,11 +58,6 @@ class MipsAsmParser : public MCTargetAsmParser { MipsAsmParser::OperandMatchResultTy parseMemOperand(SmallVectorImpl<MCParsedAsmOperand*>&); - unsigned - getMCInstOperandNum(unsigned Kind, MCInst &Inst, - const SmallVectorImpl<MCParsedAsmOperand*> &Operands, - unsigned OperandNum, unsigned &NumMCOperands); - bool ParseOperand(SmallVectorImpl<MCParsedAsmOperand*> &, StringRef Mnemonic); @@ -261,18 +256,6 @@ public: }; } -unsigned MipsAsmParser:: -getMCInstOperandNum(unsigned Kind, MCInst &Inst, - const SmallVectorImpl<MCParsedAsmOperand*> &Operands, - unsigned OperandNum, unsigned &NumMCOperands) { - assert (0 && "getMCInstOperandNum() not supported by the Mips target."); - // The Mips backend doesn't currently include the matcher implementation, so - // the getMCInstOperandNumImpl() is undefined. This is a temporary - // work around. - NumMCOperands = 0; - return 0; -} - bool MipsAsmParser:: MatchAndEmitInstruction(SMLoc IDLoc, SmallVectorImpl<MCParsedAsmOperand*> &Operands, |

