Move ownership of GCStrategy objects to LLVMContext
[oota-llvm.git] / lib / Analysis / IntervalPartition.cpp
index 2e259b147b8b0efa46b29050fdd8ee0a6d345d5c..a0583e86d185e02b428f2f89016b236bfa5c6474 100644 (file)
@@ -29,7 +29,7 @@ void IntervalPartition::releaseMemory() {
     delete Intervals[i];
   IntervalMap.clear();
   Intervals.clear();
-  RootInterval = 0;
+  RootInterval = nullptr;
 }
 
 void IntervalPartition::print(raw_ostream &O, const Module*) const {