mirror of https://github.com/YosysHQ/yosys.git
simplify: no fast lookup for packages
This commit is contained in:
parent
4a4e8612b8
commit
cb3aa6d76a
|
|
@ -4862,9 +4862,11 @@ 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;
|
||||||
|
if (current_ast_mod) {
|
||||||
for (auto& node : current_ast_mod->children) {
|
for (auto& node : current_ast_mod->children) {
|
||||||
add_to_module_fast_lookup(module_fast_lookup, node.get());
|
add_to_module_fast_lookup(module_fast_lookup, node.get());
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return module_fast_lookup;
|
return module_fast_lookup;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue