Remove bogus assertion: a node with no referrers could be collapsed if field-sensitivity was disabled

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6695 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-06-16 12:07:39 +00:00
parent 28c6cf22de
commit a75c8c4da8

View 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;