projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b71653
)
Only dump output in debug mode.
author
David Greene
<greened@obbligato.org>
Tue, 9 Feb 2010 23:03:05 +0000
(23:03 +0000)
committer
David Greene
<greened@obbligato.org>
Tue, 9 Feb 2010 23:03:05 +0000
(23:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95711
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index 1b4f9999bb6357d38947a7e2801aa93edfa9bac6..6122a2ae2730bac0db406871a0d1e0ff328469ea 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@
-5224,11
+5224,12
@@
unsigned SelectionDAG::AssignTopologicalOrder() {
}
}
if (I == SortedPos) {
- allnodes_iterator J = I;
- SDNode *S = ++
J
;
- dbgs() << "O
ffending node
:\n";
+#ifndef NDEBUG
+ SDNode *S = ++
I
;
+ dbgs() << "O
verran sorted position
:\n";
S->dumprFull();
- assert(0 && "Overran sorted position");
+#endif
+ llvm_unreachable(0);
}
}