summaryrefslogtreecommitdiffstats
path: root/llvm/unittests
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/unittests
parent5fecd674628e2ef80e8ffe31c92664881e71e3aa (diff)
downloadbcm5719-llvm-0e6a36e17e07485ee511756e022263a59101c79a.tar.gz
bcm5719-llvm-0e6a36e17e07485ee511756e022263a59101c79a.zip
Use nullptr (NFC)
llvm-svn: 254447
Diffstat (limited to 'llvm/unittests')
-rw-r--r--llvm/unittests/ProfileData/InstrProfTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/ProfileData/InstrProfTest.cpp b/llvm/unittests/ProfileData/InstrProfTest.cpp
index d50944ff77f..2f3adb65a0e 100644
--- a/llvm/unittests/ProfileData/InstrProfTest.cpp
+++ b/llvm/unittests/ProfileData/InstrProfTest.cpp
@@ -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});
OpenPOWER on IntegriCloud