3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-22 05:43:40 +00:00

Fixed algorithmic complexity of AST simplification of long expressions

This commit is contained in:
Clifford Wolf 2014-01-20 20:25:20 +01:00
parent 32a91458a7
commit 88fbdd4916
3 changed files with 13 additions and 6 deletions

View file

@ -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);