[llvm] r289766 - Trying to fix NDEBUG build after r289764

Hal Finkel via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 14 21:33:19 PST 2016


Author: hfinkel
Date: Wed Dec 14 23:33:19 2016
New Revision: 289766

URL: http://llvm.org/viewvc/llvm-project?rev=289766&view=rev
Log:
Trying to fix NDEBUG build after r289764

Modified:
    llvm/trunk/lib/CodeGen/MachineBlockPlacement.cpp

Modified: llvm/trunk/lib/CodeGen/MachineBlockPlacement.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/MachineBlockPlacement.cpp?rev=289766&r1=289765&r2=289766&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/MachineBlockPlacement.cpp (original)
+++ llvm/trunk/lib/CodeGen/MachineBlockPlacement.cpp Wed Dec 14 23:33:19 2016
@@ -1597,7 +1597,9 @@ void MachineBlockPlacement::buildCFGChai
                    << getBlockName(BB) << " -> " << getBlockName(NextBB)
                    << "\n");
       Chain->merge(NextBB, nullptr);
+#ifndef NDEBUG
       BlocksWithUnanalyzableExits.insert(&*BB);
+#endif
       FI = NextFI;
       BB = NextBB;
     }




More information about the llvm-commits mailing list