Remove dead function.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158005 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jakob Stoklund Olesen 2012-06-05 17:19:07 +00:00
parent 3e77af4318
commit 9a314da581

View 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);