mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-14 23:48:56 +00:00
Use nullptr (NFC)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254447 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
936f2daba2
commit
67b32b2810
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user