@@ -1357,7 +1357,7 @@ void PreservedCFGCheckerInstrumentation::registerCallbacks(
13571357 bool Registered = false ;
13581358 PIC.registerBeforeNonSkippedPassCallback ([this , &MAM, Registered](
13591359 StringRef P, Any IR) mutable {
1360- #ifdef LLVM_ENABLE_ABI_BREAKING_CHECKS
1360+ #if LLVM_ENABLE_ABI_BREAKING_CHECKS
13611361 assert (&PassStack.emplace_back (P));
13621362#endif
13631363 (void )this ;
@@ -1386,7 +1386,7 @@ void PreservedCFGCheckerInstrumentation::registerCallbacks(
13861386
13871387 PIC.registerAfterPassInvalidatedCallback (
13881388 [this ](StringRef P, const PreservedAnalyses &PassPA) {
1389- #ifdef LLVM_ENABLE_ABI_BREAKING_CHECKS
1389+ #if LLVM_ENABLE_ABI_BREAKING_CHECKS
13901390 assert (PassStack.pop_back_val () == P &&
13911391 " Before and After callbacks must correspond" );
13921392#endif
@@ -1395,7 +1395,7 @@ void PreservedCFGCheckerInstrumentation::registerCallbacks(
13951395
13961396 PIC.registerAfterPassCallback ([this , &MAM](StringRef P, Any IR,
13971397 const PreservedAnalyses &PassPA) {
1398- #ifdef LLVM_ENABLE_ABI_BREAKING_CHECKS
1398+ #if LLVM_ENABLE_ABI_BREAKING_CHECKS
13991399 assert (PassStack.pop_back_val () == P &&
14001400 " Before and After callbacks must correspond" );
14011401#endif
0 commit comments