From 9855134d079a193e5c17259f024082d6bb5396bf Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Mon, 25 Mar 2024 14:36:03 -0700 Subject: [memprof] Use #ifdef EXPENSIVE_CHECKS (#86585) This patch replaces: #if EXPENSIVE_CHECKS with: #ifdef EXPENSIVE_CHECKS to follow the existing conventions. --- llvm/lib/ProfileData/InstrProfReader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/ProfileData') diff --git a/llvm/lib/ProfileData/InstrProfReader.cpp b/llvm/lib/ProfileData/InstrProfReader.cpp index efe135a..4f786a2 100644 --- a/llvm/lib/ProfileData/InstrProfReader.cpp +++ b/llvm/lib/ProfileData/InstrProfReader.cpp @@ -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. -- cgit v1.1