diff options
author | Clifford Wolf <clifford@clifford.at> | 2014-01-20 20:25:20 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2014-01-20 20:25:20 +0100 |
commit | 88fbdd4916a9a9f491d22075b63beb676153c3d3 (patch) | |
tree | 8b9fba068f056c82b7e1cbe80a56403b33c99f8a /frontends/ast/ast.h | |
parent | 32a91458a7dde9994ca28ec635c1bec8fe20111b (diff) |
Fixed algorithmic complexity of AST simplification of long expressions
Diffstat (limited to 'frontends/ast/ast.h')
-rw-r--r-- | frontends/ast/ast.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/frontends/ast/ast.h b/frontends/ast/ast.h index 6aaa90e8..14e7803b 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. |