[memprof] Use #ifdef EXPENSIVE_CHECKS (#86585)

This patch replaces:

  #if EXPENSIVE_CHECKS

with:

  #ifdef EXPENSIVE_CHECKS

to follow the existing conventions.
This commit is contained in:
Kazu Hirata
2024-03-25 14:36:03 -07:00
committed by GitHub
parent 1880e41a4c
commit 9855134d07

View File

@@ -1262,7 +1262,7 @@ Error IndexedInstrProfReader::readHeader() {
/*Payload=*/Start + FramePayloadOffset,
/*Base=*/Start, memprof::FrameLookupTrait()));
#if EXPENSIVE_CHECKS
#ifdef EXPENSIVE_CHECKS
// Go through all the records and verify that CSId has been correctly
// populated. Do this only under EXPENSIVE_CHECKS. Otherwise, we
// would defeat the purpose of OnDiskIterableChainedHashTable.