From 0e6a36e17e07485ee511756e022263a59101c79a Mon Sep 17 00:00:00 2001 From: Xinliang David Li Date: Tue, 1 Dec 2015 19:47:32 +0000 Subject: Use nullptr (NFC) llvm-svn: 254447 --- llvm/lib/ProfileData/InstrProf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/ProfileData/InstrProf.cpp') diff --git a/llvm/lib/ProfileData/InstrProf.cpp b/llvm/lib/ProfileData/InstrProf.cpp index d08ec9d7317..530be8ac044 100644 --- a/llvm/lib/ProfileData/InstrProf.cpp +++ b/llvm/lib/ProfileData/InstrProf.cpp @@ -207,7 +207,7 @@ ValueProfData::serializeFrom(const InstrProfRecord &Record) { InstrProfRecordClosure.Record = &Record; std::unique_ptr VPD( - serializeValueProfDataFrom(&InstrProfRecordClosure, 0)); + serializeValueProfDataFrom(&InstrProfRecordClosure, nullptr)); return VPD; } -- cgit v1.2.3