summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-06-22 20:40:15 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-06-22 20:40:15 +0000
commitbfd752f310078561de07850ce66213c4579a0d7e (patch)
tree045e9ebb49dce6a5131f52969dc176591e5787bc /include
parent7fa6784296e6bc1aa4e8ec3664e58247893c21a2 (diff)
downloadllvm-bfd752f310078561de07850ce66213c4579a0d7e.tar.gz
llvm-bfd752f310078561de07850ce66213c4579a0d7e.tar.bz2
llvm-bfd752f310078561de07850ce66213c4579a0d7e.tar.xz
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')
-rw-r--r--include/llvm/CodeGen/LiveIntervalAnalysis.h2
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");