1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

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

llvm-svn: 6695
This commit is contained in:
Chris Lattner 2003-06-16 12:07:39 +00:00
parent 24441a15c5
commit e718da0d46

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;