Skip to content

Commit 9855134

Browse files
[memprof] Use #ifdef EXPENSIVE_CHECKS (llvm#86585)
This patch replaces: #if EXPENSIVE_CHECKS with: #ifdef EXPENSIVE_CHECKS to follow the existing conventions.
1 parent 1880e41 commit 9855134

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/ProfileData/InstrProfReader.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1262,7 +1262,7 @@ Error IndexedInstrProfReader::readHeader() {
12621262
/*Payload=*/Start + FramePayloadOffset,
12631263
/*Base=*/Start, memprof::FrameLookupTrait()));
12641264

1265-
#if EXPENSIVE_CHECKS
1265+
#ifdef EXPENSIVE_CHECKS
12661266
// Go through all the records and verify that CSId has been correctly
12671267
// populated. Do this only under EXPENSIVE_CHECKS. Otherwise, we
12681268
// would defeat the purpose of OnDiskIterableChainedHashTable.

0 commit comments

Comments
 (0)