1
0
mirror of synced 2026-04-20 11:06:45 +00:00

Extend simplify() recursion warning

This commit is contained in:
Zachary Snow
2021-02-25 16:02:55 -05:00
committed by Zachary Snow
parent 5d0cc54f5c
commit 22bed38540

View File

@@ -571,7 +571,7 @@ bool AstNode::simplify(bool const_fold, bool at_zero, bool in_lvalue, int stage,
static bool deep_recursion_warning = false;
if (recursion_counter++ == 1000 && deep_recursion_warning) {
log_warning("Deep recursion in AST simplifier.\nDoes this design contain insanely long expressions?\n");
log_warning("Deep recursion in AST simplifier.\nDoes this design contain overly long or deeply nested expressions, or excessive recursion?\n");
deep_recursion_warning = false;
}