summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-09-21 12:57:33 +0200
committerClifford Wolf <clifford@clifford.at>2014-09-21 12:57:33 +0200
commitedf11c635a40c2cfb291089be509b2f31737958b (patch)
tree6b1e7df4ec18e6856743841e233b466dff110414 /kernel
parenta7758ef953eccff9295ec9f152ec1b6bef831f89 (diff)
Assert on new logic loops in "share" pass
Diffstat (limited to 'kernel')
-rw-r--r--kernel/utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/utils.h b/kernel/utils.h
index 7f10619b..a03caf80 100644
--- a/kernel/utils.h
+++ b/kernel/utils.h
@@ -155,7 +155,7 @@ struct TopoSort
void sort_worker(const T &n, std::set<T> &marked_cells, std::set<T> &active_cells, std::vector<T> &active_stack)
{
if (active_cells.count(n)) {
- found_loops = false;
+ found_loops = true;
if (analyze_loops) {
std::set<T> loop;
for (int i = SIZE(active_stack)-1; i >= 0; i--) {