mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-27 14:34:58 +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:
parent
6b71653c82
commit
39143700a4
@ -5224,11 +5224,12 @@ unsigned SelectionDAG::AssignTopologicalOrder() {
|
||||
}
|
||||
}
|
||||
if (I == SortedPos) {
|
||||
allnodes_iterator J = I;
|
||||
SDNode *S = ++J;
|
||||
dbgs() << "Offending node:\n";
|
||||
#ifndef NDEBUG
|
||||
SDNode *S = ++I;
|
||||
dbgs() << "Overran sorted position:\n";
|
||||
S->dumprFull();
|
||||
assert(0 && "Overran sorted position");
|
||||
#endif
|
||||
llvm_unreachable(0);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user