Do not use typeinfo to identify pass in pass manager.
[oota-llvm.git] / lib / CodeGen / LiveIntervalAnalysis.cpp
index c542033548dabcdc46b93dc3c3993f84e3b2e8d0..cc6c23f59f64e68d323828cd35a3703f681054be 100644 (file)
@@ -45,6 +45,7 @@ STATISTIC(numFolded   , "Number of loads/stores folded into instructions");
 STATISTIC(numAborts   , "Number of times interval joining aborted");
 
 namespace {
+  const int LiveIntervals::ID = 0;
   RegisterPass<LiveIntervals> X("liveintervals", "Live Interval Analysis");
 
   static cl::opt<bool>