Delete a boring statistic.
[oota-llvm.git] / lib / CodeGen / LiveIntervalAnalysis.cpp
index 873edddf8b32ab1908a2fb417c38c775553ccfc5..819707f59f55143c8d75650753c9e2b4956d76ff 100644 (file)
@@ -31,7 +31,6 @@
 #include "llvm/Support/ErrorHandling.h"
 #include "llvm/Support/raw_ostream.h"
 #include "llvm/ADT/DenseSet.h"
-#include "llvm/ADT/Statistic.h"
 #include "llvm/ADT/STLExtras.h"
 #include "LiveRangeCalc.h"
 #include <algorithm>
@@ -39,8 +38,6 @@
 #include <cmath>
 using namespace llvm;
 
-STATISTIC(numIntervals , "Number of original intervals");
-
 char LiveIntervals::ID = 0;
 INITIALIZE_PASS_BEGIN(LiveIntervals, "liveintervals",
                 "Live Interval Analysis", false, false)
@@ -109,9 +106,6 @@ bool LiveIntervals::runOnMachineFunction(MachineFunction &fn) {
   ReservedRegs = TRI->getReservedRegs(fn);
 
   computeIntervals();
-
-  numIntervals += getNumIntervals();
-
   computeLiveInRegUnits();
 
   DEBUG(dump());