From 88fbdd4916a9a9f491d22075b63beb676153c3d3 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Mon, 20 Jan 2014 20:25:20 +0100 Subject: Fixed algorithmic complexity of AST simplification of long expressions --- frontends/ast/ast.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'frontends/ast/ast.h') diff --git a/frontends/ast/ast.h b/frontends/ast/ast.h index 6aaa90e86..14e7803bf 100644 --- a/frontends/ast/ast.h +++ b/frontends/ast/ast.h @@ -153,6 +153,9 @@ namespace AST // this is set by simplify and used during RTLIL generation AstNode *id2ast; + // this is used by simplify to detect if basic analysis has been performed already on the node + bool basic_prep; + // this is the original sourcecode location that resulted in this AST node // it is automatically set by the constructor using AST::current_filename and // the AST::get_line_num() callback function. -- cgit v1.2.3