summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit451ef13cde7c731dbf780856f543281f38ab8fed (patch)
tree3f7a821a8fa34a55421292f9dfcaa1f97b66f432 /llvm/utils
parent7573c8f081781abf7ebcf3deff8bee00770f10e7 (diff)
downloadbcm5719-llvm-451ef13cde7c731dbf780856f543281f38ab8fed.tar.gz
bcm5719-llvm-451ef13cde7c731dbf780856f543281f38ab8fed.zip
Remove an unused argument. The MCInst opcode is set in the ConvertToMCInst()
function nowadays. llvm-svn: 163030
Diffstat (limited to 'llvm/utils')
-rw-r--r--llvm/utils/TableGen/AsmMatcherEmitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/AsmMatcherEmitter.cpp b/llvm/utils/TableGen/AsmMatcherEmitter.cpp
index 8debc8e32ab..3fff1527d31 100644
--- a/llvm/utils/TableGen/AsmMatcherEmitter.cpp
+++ b/llvm/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.
OpenPOWER on IntegriCloud