aboutsummaryrefslogtreecommitdiffstats
path: root/frontends/ast/ast.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-01-20 20:25:20 +0100
committerClifford Wolf <clifford@clifford.at>2014-01-20 20:25:20 +0100
commit88fbdd4916a9a9f491d22075b63beb676153c3d3 (patch)
tree8b9fba068f056c82b7e1cbe80a56403b33c99f8a /frontends/ast/ast.cc
parent32a91458a7dde9994ca28ec635c1bec8fe20111b (diff)
downloadyosys-88fbdd4916a9a9f491d22075b63beb676153c3d3.tar.gz
yosys-88fbdd4916a9a9f491d22075b63beb676153c3d3.tar.bz2
yosys-88fbdd4916a9a9f491d22075b63beb676153c3d3.zip
Fixed algorithmic complexity of AST simplification of long expressions
Diffstat (limited to 'frontends/ast/ast.cc')
-rw-r--r--frontends/ast/ast.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/frontends/ast/ast.cc b/frontends/ast/ast.cc
index ecc58cf63..20720051a 100644
--- a/frontends/ast/ast.cc
+++ b/frontends/ast/ast.cc
@@ -181,6 +181,7 @@ AstNode::AstNode(AstNodeType type, AstNode *child1, AstNode *child2)
range_right = 0;
integer = 0;
id2ast = NULL;
+ basic_prep = false;
if (child1)
children.push_back(child1);