mirror of https://github.com/YosysHQ/yosys.git
Merge pull request #2167 from whitequark/cxxrtl-fix-ndebug
cxxrtl: don't compute vital values in log_assert()
This commit is contained in:
commit
8344846787
|
@ -1845,7 +1845,8 @@ struct CxxrtlWorker {
|
||||||
topo_design.edge(cell_module, module);
|
topo_design.edge(cell_module, module);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
log_assert(topo_design.sort());
|
bool no_loops = topo_design.sort();
|
||||||
|
log_assert(no_loops);
|
||||||
modules.insert(modules.end(), topo_design.sorted.begin(), topo_design.sorted.end());
|
modules.insert(modules.end(), topo_design.sorted.begin(), topo_design.sorted.end());
|
||||||
|
|
||||||
if (split_intf) {
|
if (split_intf) {
|
||||||
|
|
Loading…
Reference in New Issue