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:
parent
32a91458a7
commit
88fbdd4916
3 changed files with 13 additions and 6 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue