forked from OSchip/llvm-project
parent
5fecd67462
commit
0e6a36e17e
|
@ -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