From: Dan Gohman Date: Mon, 28 Sep 2009 14:38:19 +0000 (+0000) Subject: Remove a redundant #ifndef and add an assertion string. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=2d5dfd94e5fb1d60fe1f43bea6728c63ed4c160d;p=oota-llvm.git Remove a redundant #ifndef and add an assertion string. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82991 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Utils/LCSSA.cpp b/lib/Transforms/Utils/LCSSA.cpp index b510262c05c..48e6a17a066 100644 --- a/lib/Transforms/Utils/LCSSA.cpp +++ b/lib/Transforms/Utils/LCSSA.cpp @@ -90,10 +90,8 @@ namespace { /// verifyAnalysis() - Verify loop nest. virtual void verifyAnalysis() const { -#ifndef NDEBUG // Check the special guarantees that LCSSA makes. - assert(L->isLCSSAForm()); -#endif + assert(L->isLCSSAForm() && "LCSSA form not preserved!"); } void getLoopValuesUsedOutsideLoop(Loop *L,