diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-09-03 03:16:09 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-09-03 03:16:09 +0000 |
commit | c4d2560a2010456f4eea0007eb71829d5668e7dd (patch) | |
tree | 6211f517def1a927c21d32790d7d4e9e89ad90d3 /utils/TableGen/AsmMatcherEmitter.cpp | |
parent | 8a04e51d861032fe9e62612cf3298cd8bc18cc2e (diff) | |
download | external_llvm-c4d2560a2010456f4eea0007eb71829d5668e7dd.zip external_llvm-c4d2560a2010456f4eea0007eb71829d5668e7dd.tar.gz external_llvm-c4d2560a2010456f4eea0007eb71829d5668e7dd.tar.bz2 |
Removed unused argument.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163104 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/AsmMatcherEmitter.cpp')
-rw-r--r-- | utils/TableGen/AsmMatcherEmitter.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/utils/TableGen/AsmMatcherEmitter.cpp b/utils/TableGen/AsmMatcherEmitter.cpp index 32c0f2e..86c90db 100644 --- a/utils/TableGen/AsmMatcherEmitter.cpp +++ b/utils/TableGen/AsmMatcherEmitter.cpp @@ -2587,8 +2587,8 @@ void AsmMatcherEmitter::run(raw_ostream &OS) { OS << " bool MnemonicIsValid(StringRef Mnemonic);\n"; OS << " unsigned MatchInstructionImpl(\n" << " const SmallVectorImpl<MCParsedAsmOperand*> &Operands,\n" - << " unsigned &Kind, unsigned &Opcode, MCInst &Inst, " - << "unsigned &ErrorInfo,\n unsigned VariantID = 0);\n"; + << " unsigned &Kind, MCInst &Inst, " + << "unsigned &ErrorInfo,\n unsigned VariantID = 0);\n"; if (Info.OperandMatchInfo.size()) { OS << "\n enum OperandMatchResultTy {\n"; @@ -2768,8 +2768,8 @@ void AsmMatcherEmitter::run(raw_ostream &OS) { << Target.getName() << ClassName << "::\n" << "MatchInstructionImpl(const SmallVectorImpl<MCParsedAsmOperand*>" << " &Operands,\n"; - OS << " unsigned &Kind, unsigned &Opcode, MCInst &Inst,"; - OS << "\n unsigned &ErrorInfo, unsigned VariantID) {\n"; + OS << " unsigned &Kind, MCInst &Inst, unsigned "; + OS << "&ErrorInfo,\n unsigned VariantID) {\n"; OS << " // Eliminate obvious mismatches.\n"; OS << " if (Operands.size() > " << (MaxNumOperands+1) << ") {\n"; @@ -2887,7 +2887,6 @@ void AsmMatcherEmitter::run(raw_ostream &OS) { OS << " " << InsnCleanupFn << "(Inst);\n"; OS << " Kind = it->ConvertFn;\n"; - OS << " Opcode = it->Opcode;\n"; OS << " return Match_Success;\n"; OS << " }\n\n"; |