summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-01-02 03:58:45 +0000
committerCraig Topper <craig.topper@gmail.com>2014-01-02 03:58:45 +0000
commit83b7e24b76b0da85e886f8dd6aff4e4421f6ad53 (patch)
treed2514e4505d702d56701d1334be5f6bec884d88b /llvm
parent0d10a9d5796d278e396c26388165e2eec81f5233 (diff)
downloadbcm5719-llvm-83b7e24b76b0da85e886f8dd6aff4e4421f6ad53.tar.gz
bcm5719-llvm-83b7e24b76b0da85e886f8dd6aff4e4421f6ad53.zip
Remove unused function argument.
llvm-svn: 198291
Diffstat (limited to 'llvm')
-rw-r--r--llvm/utils/TableGen/X86RecognizableInstr.cpp4
-rw-r--r--llvm/utils/TableGen/X86RecognizableInstr.h4
2 files changed, 3 insertions, 5 deletions
diff --git a/llvm/utils/TableGen/X86RecognizableInstr.cpp b/llvm/utils/TableGen/X86RecognizableInstr.cpp
index 15212d3f250..6e36854137e 100644
--- a/llvm/utils/TableGen/X86RecognizableInstr.cpp
+++ b/llvm/utils/TableGen/X86RecognizableInstr.cpp
@@ -300,7 +300,7 @@ void RecognizableInstr::processInstr(DisassemblerTables &tables,
RecognizableInstr recogInstr(tables, insn, uid);
- recogInstr.emitInstructionSpecifier(tables);
+ recogInstr.emitInstructionSpecifier();
if (recogInstr.shouldBeEmitted())
recogInstr.emitDecodePath(tables);
@@ -595,7 +595,7 @@ void RecognizableInstr::handleOperand(bool optional, unsigned &operandIndex,
++physicalOperandIndex;
}
-void RecognizableInstr::emitInstructionSpecifier(DisassemblerTables &tables) {
+void RecognizableInstr::emitInstructionSpecifier() {
Spec->name = Name;
if (!ShouldBeEmitted)
diff --git a/llvm/utils/TableGen/X86RecognizableInstr.h b/llvm/utils/TableGen/X86RecognizableInstr.h
index 4d4686e0739..f47f3c59abd 100644
--- a/llvm/utils/TableGen/X86RecognizableInstr.h
+++ b/llvm/utils/TableGen/X86RecognizableInstr.h
@@ -232,9 +232,7 @@ private:
/// emitInstructionSpecifier - Loads the instruction specifier for the current
/// instruction into a DisassemblerTables.
///
- /// \param tables The DisassemblerTables to populate with the specifier for
- /// the current instruction.
- void emitInstructionSpecifier(DisassemblerTables &tables);
+ void emitInstructionSpecifier();
/// emitDecodePath - Populates the proper fields in the decode tables
/// corresponding to the decode paths for this instruction.
OpenPOWER on IntegriCloud