Use nullptr (NFC)
[oota-llvm.git] / unittests / ProfileData / InstrProfTest.cpp
index d50944ff77fd7489f28c1d568926f0f8fa0c5863..2f3adb65a0ee735199046187b693dc84e555ff18 100644 (file)
@@ -409,7 +409,7 @@ TEST_F(InstrProfTest, runtime_value_prof_data_read_write) {
   initializeValueProfRuntimeRecord(&RTRecord, &NumValueSites[0],
                                    &ValueProfNodes[0]);
 
-  ValueProfData *VPData = serializeValueProfDataFromRT(&RTRecord, 0);
+  ValueProfData *VPData = serializeValueProfDataFromRT(&RTRecord, nullptr);
 
   InstrProfRecord Record("caller", 0x1234, {1ULL << 31, 2});