[llvm] r186403 - Fixing a buildbot failure:unused function.

Vladimir Medic Vladimir.Medic at imgtec.com
Tue Jul 16 04:43:20 PDT 2013


Author: vmedic
Date: Tue Jul 16 06:43:20 2013
New Revision: 186403

URL: http://llvm.org/viewvc/llvm-project?rev=186403&view=rev
Log:
Fixing a buildbot failure:unused function.

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=186403&r1=186402&r2=186403&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/Disassembler/MipsDisassembler.cpp (original)
+++ llvm/trunk/lib/Target/Mips/Disassembler/MipsDisassembler.cpp Tue Jul 16 06:43:20 2013
@@ -183,11 +183,6 @@ static DecodeStatus DecodeSimm16(MCInst
                                  uint64_t Address,
                                  const void *Decoder);
 
-static DecodeStatus DecodeCondCode(MCInst &Inst,
-                                   unsigned Insn,
-                                   uint64_t Address,
-                                   const void *Decoder);
-
 static DecodeStatus DecodeInsSize(MCInst &Inst,
                                   unsigned Insn,
                                   uint64_t Address,
@@ -464,15 +459,6 @@ static DecodeStatus DecodeHWRegsRegister
   return MCDisassembler::Success;
 }
 
-static DecodeStatus DecodeCondCode(MCInst &Inst,
-                                   unsigned Insn,
-                                   uint64_t Address,
-                                   const void *Decoder) {
-  int CondCode = Insn & 0xf;
-  Inst.addOperand(MCOperand::CreateImm(CondCode));
-  return MCDisassembler::Success;
-}
-
 static DecodeStatus DecodeAFGR64RegisterClass(MCInst &Inst,
                                               unsigned RegNo,
                                               uint64_t Address,





More information about the llvm-commits mailing list