mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-17 04:24:00 +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:
@ -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;
|
||||||
|
Reference in New Issue
Block a user