From: Dan Gohman Date: Sun, 27 Sep 2009 17:48:37 +0000 (+0000) Subject: Remove a redundant assert. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=be1123464a232168299bcd9557e94e90c1daa5de;p=oota-llvm.git Remove a redundant assert. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82907 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Analysis/LoopInfo.h b/include/llvm/Analysis/LoopInfo.h index bed7608b11e..763111063d0 100644 --- a/include/llvm/Analysis/LoopInfo.h +++ b/include/llvm/Analysis/LoopInfo.h @@ -378,7 +378,6 @@ public: void verifyLoop() const { #ifndef NDEBUG assert(!Blocks.empty() && "Loop header is missing"); - assert(getHeader() && "Loop header is missing"); // Sort the blocks vector so that we can use binary search to do quick // lookups.