mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-28 22:24:28 +00:00
Only dump output in debug mode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95711 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -5224,11 +5224,12 @@ unsigned SelectionDAG::AssignTopologicalOrder() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (I == SortedPos) {
|
if (I == SortedPos) {
|
||||||
allnodes_iterator J = I;
|
#ifndef NDEBUG
|
||||||
SDNode *S = ++J;
|
SDNode *S = ++I;
|
||||||
dbgs() << "Offending node:\n";
|
dbgs() << "Overran sorted position:\n";
|
||||||
S->dumprFull();
|
S->dumprFull();
|
||||||
assert(0 && "Overran sorted position");
|
#endif
|
||||||
|
llvm_unreachable(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user