3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-11-23 06:01:27 +00:00

Fix abc_new pass when not in NDEBUG

This commit is contained in:
Mike Inouye 2025-11-21 14:10:05 -08:00 committed by GitHub
parent bf70581efa
commit 615e338acd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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 sorted = sort.sort();
log_assert(sorted);
return sort.sorted;
}