diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-06-05 17:19:07 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-06-05 17:19:07 +0000 |
commit | 9a314da5812dc14bb37df47b89041f8059efc8b1 (patch) | |
tree | 89cba53af4a890fef44729dbb92d71e47f834e84 | |
parent | 3e77af4318f48228f626bb92bdf73a38d851ae4d (diff) | |
download | llvm-9a314da5812dc14bb37df47b89041f8059efc8b1.tar.gz llvm-9a314da5812dc14bb37df47b89041f8059efc8b1.tar.bz2 llvm-9a314da5812dc14bb37df47b89041f8059efc8b1.tar.xz |
Remove dead function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158005 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/CodeGen/LiveIntervalAnalysis.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/llvm/CodeGen/LiveIntervalAnalysis.h b/include/llvm/CodeGen/LiveIntervalAnalysis.h index 5ed54261a0..76f12eb915 100644 --- a/include/llvm/CodeGen/LiveIntervalAnalysis.h +++ b/include/llvm/CodeGen/LiveIntervalAnalysis.h @@ -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); |