3
0
Fork 0
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:
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

@ -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.