summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ProfileData
diff options
context:
space:
mode:
authorXinliang David Li <davidxl@google.com>2015-12-01 19:47:32 +0000
committerXinliang David Li <davidxl@google.com>2015-12-01 19:47:32 +0000
commit0e6a36e17e07485ee511756e022263a59101c79a (patch)
treecb0dd8067cf2d3483c65acf08a09b80fa2c2a985 /llvm/lib/ProfileData
parent5fecd674628e2ef80e8ffe31c92664881e71e3aa (diff)
downloadbcm5719-llvm-0e6a36e17e07485ee511756e022263a59101c79a.tar.gz
bcm5719-llvm-0e6a36e17e07485ee511756e022263a59101c79a.zip
Use nullptr (NFC)
llvm-svn: 254447
Diffstat (limited to 'llvm/lib/ProfileData')
-rw-r--r--llvm/lib/ProfileData/InstrProf.cpp2
1 files changed, 1 insertions, 1 deletions
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<ValueProfData> VPD(
- serializeValueProfDataFrom(&InstrProfRecordClosure, 0));
+ serializeValueProfDataFrom(&InstrProfRecordClosure, nullptr));
return VPD;
}
OpenPOWER on IntegriCloud