diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-06-22 20:40:15 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-06-22 20:40:15 +0000 |
commit | bfd752f310078561de07850ce66213c4579a0d7e (patch) | |
tree | 045e9ebb49dce6a5131f52969dc176591e5787bc /include/llvm/CodeGen/LiveIntervalAnalysis.h | |
parent | 7fa6784296e6bc1aa4e8ec3664e58247893c21a2 (diff) |
Delete a boring statistic.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159030 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/LiveIntervalAnalysis.h')
-rw-r--r-- | include/llvm/CodeGen/LiveIntervalAnalysis.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/LiveIntervalAnalysis.h b/include/llvm/CodeGen/LiveIntervalAnalysis.h index a941cc0bba..a344b1ff1b 100644 --- a/include/llvm/CodeGen/LiveIntervalAnalysis.h +++ b/include/llvm/CodeGen/LiveIntervalAnalysis.h @@ -109,8 +109,6 @@ namespace llvm { // Calculate the spill weight to assign to a single instruction. static float getSpillWeight(bool isDef, bool isUse, unsigned loopDepth); - unsigned getNumIntervals() const { return (unsigned)VirtRegIntervals.size(); } - LiveInterval &getInterval(unsigned Reg) { LiveInterval *LI = VirtRegIntervals[Reg]; assert(LI && "Interval does not exist for virtual register"); |