mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-04 22:07:27 +00:00
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:
parent
28c6cf22de
commit
a75c8c4da8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user