mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-25 01:55:33 +00:00
Added ENABLE_NDEBUG makefile options
This commit is contained in:
parent
8fe9ab50e5
commit
2a9ad48eb6
12 changed files with 33 additions and 12 deletions
|
@ -2309,8 +2309,10 @@ void AstNode::mem2reg_as_needed_pass1(dict<AstNode*, pool<std::string>> &mem2reg
|
|||
flags &= ~children_flags | backup_flags;
|
||||
|
||||
if (proc_flags_p) {
|
||||
#ifndef NDEBUG
|
||||
for (auto it : *proc_flags_p)
|
||||
log_assert((it.second & ~0xff000000) == 0);
|
||||
#endif
|
||||
delete proc_flags_p;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue