forked from OSchip/llvm-project
Remove bogus assertion: a node with no referrers could be collapsed if field-sensitivity was disabled
llvm-svn: 6695
This commit is contained in:
parent
98105944b3
commit
82f4f85f6d
|
@ -107,8 +107,6 @@ void DSNode::addGlobal(GlobalValue *GV) {
|
||||||
/// single byte with a single TypeEntry of "void".
|
/// single byte with a single TypeEntry of "void".
|
||||||
///
|
///
|
||||||
void DSNode::foldNodeCompletely() {
|
void DSNode::foldNodeCompletely() {
|
||||||
assert(!hasNoReferrers() &&
|
|
||||||
"Why would we collapse a node with no referrers?");
|
|
||||||
if (isNodeCompletelyFolded()) return; // If this node is already folded...
|
if (isNodeCompletelyFolded()) return; // If this node is already folded...
|
||||||
|
|
||||||
++NumFolds;
|
++NumFolds;
|
||||||
|
|
Loading…
Reference in New Issue