Remove unused functions introduced in r172685 to unbreak the Clang -Werror build
authorDavid Blaikie <dblaikie@gmail.com>
Wed, 7 Aug 2013 00:25:12 +0000 (00:25 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Wed, 7 Aug 2013 00:25:12 +0000 (00:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187838 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Mips/Disassembler/MipsDisassembler.cpp

index ffea6d82d6b9f909721bdb63713721aa8fbde63a..d99df4d56ce75957445f7efafc3adf2e5f63b8cc 100644 (file)
@@ -138,11 +138,6 @@ static DecodeStatus DecodeAFGR64RegisterClass(MCInst &Inst,
                                               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 DecodeAFGR64RegisterClass(MCInst &Inst,
   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,