mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-27 02:45:52 +00:00
Added log_assert() api
This commit is contained in:
parent
ccd2a93439
commit
ed0e2f7a6f
3 changed files with 6 additions and 4 deletions
|
@ -140,8 +140,7 @@ std::string AST::type2str(AstNodeType type)
|
|||
X(AST_EDGE)
|
||||
#undef X
|
||||
default:
|
||||
assert(!"Missing enum to string def in AST::type2str().");
|
||||
abort();
|
||||
log_abort();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue