aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-09-27 17:48:37 +0000
committerDan Gohman <gohman@apple.com>2009-09-27 17:48:37 +0000
commitbe1123464a232168299bcd9557e94e90c1daa5de (patch)
treeea50b3bae2efc5cf37c4830611819befa1536ac8 /include
parent7fd82e56a8d6fd48dd22f85ce502c24ff599d7a8 (diff)
downloadexternal_llvm-be1123464a232168299bcd9557e94e90c1daa5de.zip
external_llvm-be1123464a232168299bcd9557e94e90c1daa5de.tar.gz
external_llvm-be1123464a232168299bcd9557e94e90c1daa5de.tar.bz2
Remove a redundant assert.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82907 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Analysis/LoopInfo.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/llvm/Analysis/LoopInfo.h b/include/llvm/Analysis/LoopInfo.h
index bed7608..7631110 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.