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
This commit is contained in:
Dan Gohman 2009-09-28 14:38:19 +00:00
parent d84db11333
commit 2d5dfd94e5

View File

@ -90,10 +90,8 @@ namespace {
/// verifyAnalysis() - Verify loop nest. /// verifyAnalysis() - Verify loop nest.
virtual void verifyAnalysis() const { virtual void verifyAnalysis() const {
#ifndef NDEBUG
// Check the special guarantees that LCSSA makes. // Check the special guarantees that LCSSA makes.
assert(L->isLCSSAForm()); assert(L->isLCSSAForm() && "LCSSA form not preserved!");
#endif
} }
void getLoopValuesUsedOutsideLoop(Loop *L, void getLoopValuesUsedOutsideLoop(Loop *L,