mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-10 13:10:51 +00:00
Using log_assert() instead of assert()
This commit is contained in:
parent
d86a25f145
commit
7bd2d1064f
52 changed files with 236 additions and 251 deletions
|
@ -1120,7 +1120,7 @@ struct SelectPass : public Pass {
|
|||
work_stack.pop_back();
|
||||
}
|
||||
|
||||
assert(design->selection_stack.size() > 0);
|
||||
log_assert(design->selection_stack.size() > 0);
|
||||
|
||||
if (clear_mode) {
|
||||
design->selection_stack.back() = RTLIL::Selection(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue