constant propagate a method away.
[oota-llvm.git] / lib / Target / X86 / X86InstrInfo.h
index affb5a0c5d8adc96a71a5da5926686a1fd4b771b..2307723de55a1aa25865f9920121dfc97352a2e1 100644 (file)
@@ -643,9 +643,6 @@ public:
   static unsigned char getBaseOpcodeFor(unsigned TSFlags) {
     return TSFlags >> X86II::OpcodeShift;
   }
-  unsigned char getBaseOpcodeForOpcode(unsigned Opcode) const {
-    return getBaseOpcodeFor(get(Opcode).TSFlags);
-  }
   
   static bool isX86_64NonExtLowByteReg(unsigned reg) {
     return (reg == X86::SPL || reg == X86::BPL ||