mirror of
https://github.com/YosysHQ/yosys
synced 2026-05-25 19:36:21 +00:00
simplify: no fast lookup for packages
This commit is contained in:
parent
4a4e8612b8
commit
cb3aa6d76a
1 changed files with 4 additions and 2 deletions
|
|
@ -4862,8 +4862,10 @@ void AstNode::add_to_module_fast_lookup(dict<std::string, AstNode*>& module_fast
|
||||||
dict<std::string, AstNode*> AstNode::generate_module_fast_lookup_for_genblock_expansion()
|
dict<std::string, AstNode*> AstNode::generate_module_fast_lookup_for_genblock_expansion()
|
||||||
{
|
{
|
||||||
dict<std::string, AstNode*> module_fast_lookup;
|
dict<std::string, AstNode*> module_fast_lookup;
|
||||||
for (auto& node : current_ast_mod->children) {
|
if (current_ast_mod) {
|
||||||
add_to_module_fast_lookup(module_fast_lookup, node.get());
|
for (auto& node : current_ast_mod->children) {
|
||||||
|
add_to_module_fast_lookup(module_fast_lookup, node.get());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return module_fast_lookup;
|
return module_fast_lookup;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue