Use nullptr (NFC)
[oota-llvm.git] / lib / ProfileData / InstrProf.cpp
index d08ec9d73176e2f071f90c18149107bca6458f19..530be8ac044a90c7df24d90c16feb9a5e9dd38bb 100644 (file)
@@ -207,7 +207,7 @@ ValueProfData::serializeFrom(const InstrProfRecord &Record) {
   InstrProfRecordClosure.Record = &Record;
 
   std::unique_ptr<ValueProfData> VPD(
-      serializeValueProfDataFrom(&InstrProfRecordClosure, 0));
+      serializeValueProfDataFrom(&InstrProfRecordClosure, nullptr));
   return VPD;
 }