Remove a redundant assert.
authorDan Gohman <gohman@apple.com>
Sun, 27 Sep 2009 17:48:37 +0000 (17:48 +0000)
committerDan Gohman <gohman@apple.com>
Sun, 27 Sep 2009 17:48:37 +0000 (17:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82907 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/LoopInfo.h

index bed7608b11e4bcdd0b1f4f31677f7f702b618c8f..763111063d01bd10d5c7fdace3f12462b366983f 100644 (file)
@@ -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.