aboutsummaryrefslogtreecommitdiffstats
path: root/frontends/ast
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/ast')
-rw-r--r--frontends/ast/ast.cc3
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();
}
}