From ed0e2f7a6fe721175b80f6397c9abd5c0080033f Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Fri, 24 May 2013 14:38:36 +0200 Subject: Added log_assert() api --- frontends/ast/ast.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'frontends/ast') diff --git a/frontends/ast/ast.cc b/frontends/ast/ast.cc index 2c552ea2..f4231395 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(); } } -- cgit v1.2.3