Remove bogus assertion: a node with no referrers could be collapsed if field-sensitiv...
authorChris Lattner <sabre@nondot.org>
Mon, 16 Jun 2003 12:07:39 +0000 (12:07 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 16 Jun 2003 12:07:39 +0000 (12:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6695 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/DataStructure/DataStructure.cpp

index 4f774acb0ad3145abc3beec732192617778da2f5..5f232e2054d847e3a8caee794898589db001fea7 100644 (file)
@@ -107,8 +107,6 @@ void DSNode::addGlobal(GlobalValue *GV) {
 /// single byte with a single TypeEntry of "void".
 ///
 void DSNode::foldNodeCompletely() {
-  assert(!hasNoReferrers() &&
-         "Why would we collapse a node with no referrers?");
   if (isNodeCompletelyFolded()) return;  // If this node is already folded...
 
   ++NumFolds;