diff options
author | Clifford Wolf <clifford@clifford.at> | 2013-05-24 14:38:36 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2013-05-24 14:38:36 +0200 |
commit | ed0e2f7a6fe721175b80f6397c9abd5c0080033f (patch) | |
tree | a5a367e973094bdfa7398103824346163ad43e82 /frontends/ast | |
parent | ccd2a93439098e333a2f41ae6d1ce3d92222f167 (diff) | |
download | yosys-ed0e2f7a6fe721175b80f6397c9abd5c0080033f.tar.gz yosys-ed0e2f7a6fe721175b80f6397c9abd5c0080033f.tar.bz2 yosys-ed0e2f7a6fe721175b80f6397c9abd5c0080033f.zip |
Added log_assert() api
Diffstat (limited to 'frontends/ast')
-rw-r--r-- | frontends/ast/ast.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/frontends/ast/ast.cc b/frontends/ast/ast.cc index 2c552ea22..f42313959 100644 --- a/frontends/ast/ast.cc +++ b/frontends/ast/ast.cc @@ -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(); } } |