summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-08-31 22:12:31 +0000
committerChad Rosier <mcrosier@apple.com>2012-08-31 22:12:31 +0000
commit756d2cc2f7f6745603fdc0ec1ed4476d06385845 (patch)
treeab7f79629f4fdbe22adf2af5e97a7aa584e2243b /utils
parentbbdbb0550b8397fa00e0376a0c3bb312f51c0dfa (diff)
downloadllvm-756d2cc2f7f6745603fdc0ec1ed4476d06385845.tar.gz
llvm-756d2cc2f7f6745603fdc0ec1ed4476d06385845.tar.bz2
llvm-756d2cc2f7f6745603fdc0ec1ed4476d06385845.tar.xz
Remove an unused argument. The MCInst opcode is set in the ConvertToMCInst()
function nowadays. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163030 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/TableGen/AsmMatcherEmitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/AsmMatcherEmitter.cpp b/utils/TableGen/AsmMatcherEmitter.cpp
index 8debc8e32a..3fff1527d3 100644
--- a/utils/TableGen/AsmMatcherEmitter.cpp
+++ b/utils/TableGen/AsmMatcherEmitter.cpp
@@ -1751,7 +1751,7 @@ static void emitConvertToMCInst(CodeGenTarget &Target, StringRef ClassName,
// Add the handler to the conversion driver function.
CvtOS << " case CVT_" << AsmMatchConverter << ":\n"
- << " " << AsmMatchConverter << "(Inst, Opcode, Operands);\n"
+ << " " << AsmMatchConverter << "(Inst, Operands);\n"
<< " break;\n";
// FIXME: Handle the operand number lookup for custom match functions.