Add support for combining GEPs across PHI nodes
[oota-llvm.git] / lib / Transforms / InstCombine / InstCombineWorklist.h
index 53fde9d556363ab6f08979005f237383ec7bd73c..1ab7db3a989ff875cf61e56b8c65f326f86abeb8 100644 (file)
@@ -69,7 +69,7 @@ public:
     if (It == WorklistMap.end()) return; // Not in worklist.
 
     // Don't bother moving everything down, just null out the slot.
-    Worklist[It->second] = 0;
+    Worklist[It->second] = nullptr;
 
     WorklistMap.erase(It);
   }