mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-23 06:13:41 +00:00
internal_stats: astnode (sizeof)
This commit is contained in:
parent
17ee367c7b
commit
1372c47036
3 changed files with 10 additions and 0 deletions
|
@ -410,6 +410,9 @@ namespace AST
|
|||
extern void (*set_line_num)(int);
|
||||
extern int (*get_line_num)();
|
||||
|
||||
// for stats
|
||||
unsigned long long astnode_count();
|
||||
|
||||
// set set_line_num and get_line_num to internal dummy functions (done by simplify() and AstModule::derive
|
||||
// to control the filename and linenum properties of new nodes not generated by a frontend parser)
|
||||
void use_internal_line_num();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue