[llvm] r187838 - Remove unused functions introduced in r172685 to unbreak the Clang -Werror build
David Blaikie
dblaikie at gmail.com
Tue Aug 6 17:25:12 PDT 2013
Author: dblaikie
Date: Tue Aug 6 19:25:12 2013
New Revision: 187838
URL: http://llvm.org/viewvc/llvm-project?rev=187838&view=rev
Log:
Remove unused functions introduced in r172685 to unbreak the Clang -Werror build
Modified:
llvm/trunk/lib/Target/Mips/Disassembler/MipsDisassembler.cpp
Modified: llvm/trunk/lib/Target/Mips/Disassembler/MipsDisassembler.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/Disassembler/MipsDisassembler.cpp?rev=187838&r1=187837&r2=187838&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/Disassembler/MipsDisassembler.cpp (original)
+++ llvm/trunk/lib/Target/Mips/Disassembler/MipsDisassembler.cpp Tue Aug 6 19:25:12 2013
@@ -138,11 +138,6 @@ static DecodeStatus DecodeAFGR64Register
uint64_t Address,
const void *Decoder);
-static DecodeStatus DecodeHWRegs64RegisterClass(MCInst &Inst,
- unsigned Insn,
- uint64_t Address,
- const void *Decoder);
-
static DecodeStatus DecodeACRegsDSPRegisterClass(MCInst &Inst,
unsigned RegNo,
uint64_t Address,
@@ -482,17 +477,6 @@ static DecodeStatus DecodeAFGR64Register
return MCDisassembler::Success;
}
-static DecodeStatus DecodeHWRegs64RegisterClass(MCInst &Inst,
- unsigned RegNo,
- uint64_t Address,
- const void *Decoder) {
- //Currently only hardware register 29 is supported
- if (RegNo != 29)
- return MCDisassembler::Fail;
- Inst.addOperand(MCOperand::CreateReg(Mips::HWR29_64));
- return MCDisassembler::Success;
-}
-
static DecodeStatus DecodeACRegsDSPRegisterClass(MCInst &Inst,
unsigned RegNo,
uint64_t Address,
More information about the llvm-commits
mailing list