Remove dead function.
[oota-llvm.git] / include / llvm / CodeGen / LiveIntervalAnalysis.h
index 5ed54261a00e31955e582154caf178c175367046..76f12eb9159baafa0aec8f169c3127af70eed20e 100644 (file)
@@ -137,12 +137,6 @@ namespace llvm {
       return ReservedRegs.test(reg);
     }
 
-    /// getApproximateInstructionCount - computes an estimate of the number
-    /// of instructions in a given LiveInterval.
-    unsigned getApproximateInstructionCount(LiveInterval& I) {
-      return I.getSize()/SlotIndex::InstrDist;
-    }
-
     // Interval creation
     LiveInterval &getOrCreateInterval(unsigned reg) {
       Reg2IntervalMap::iterator I = R2IMap.find(reg);