@@ -1358,7 +1358,7 @@ void PreservedCFGCheckerInstrumentation::registerCallbacks(
13581358 bool Registered = false ;
13591359 PIC.registerBeforeNonSkippedPassCallback ([this , &MAM, Registered](
13601360 StringRef P, Any IR) mutable {
1361- #ifdef LLVM_ENABLE_ABI_BREAKING_CHECKS
1361+ #if LLVM_ENABLE_ABI_BREAKING_CHECKS
13621362 assert (&PassStack.emplace_back (P));
13631363#endif
13641364 (void )this ;
@@ -1387,7 +1387,7 @@ void PreservedCFGCheckerInstrumentation::registerCallbacks(
13871387
13881388 PIC.registerAfterPassInvalidatedCallback (
13891389 [this ](StringRef P, const PreservedAnalyses &PassPA) {
1390- #ifdef LLVM_ENABLE_ABI_BREAKING_CHECKS
1390+ #if LLVM_ENABLE_ABI_BREAKING_CHECKS
13911391 assert (PassStack.pop_back_val () == P &&
13921392 " Before and After callbacks must correspond" );
13931393#endif
@@ -1396,7 +1396,7 @@ void PreservedCFGCheckerInstrumentation::registerCallbacks(
13961396
13971397 PIC.registerAfterPassCallback ([this , &MAM](StringRef P, Any IR,
13981398 const PreservedAnalyses &PassPA) {
1399- #ifdef LLVM_ENABLE_ABI_BREAKING_CHECKS
1399+ #if LLVM_ENABLE_ABI_BREAKING_CHECKS
14001400 assert (PassStack.pop_back_val () == P &&
14011401 " Before and After callbacks must correspond" );
14021402#endif
0 commit comments