Merge pull request #5499 from mikesinouye/abc_new

Enable abc_new pass when not in NDEBUG
This commit is contained in:
Emil J 2025-11-24 16:57:29 +01:00 committed by GitHub
commit 510f9ef63d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -38,7 +38,8 @@ std::vector<Module*> order_modules(Design *design, std::vector<Module *> modules
sort.edge(submodule, m);
}
}
log_assert(sort.sort());
bool is_sorted = sort.sort();
log_assert(is_sorted);
return sort.sorted;
}