mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-20 12:53:39 +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
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue