Optimize functions inlined from packages in Dfg (#7091)

This commit is contained in:
Geza Lore
2026-02-18 19:11:33 +00:00
committed by GitHub
parent cf1de0b9a8
commit 2cd8dc6cf7
3 changed files with 24 additions and 0 deletions
+1
View File
@@ -73,6 +73,7 @@ class ScopeVisitor final : public VNVisitor {
"Can't locate class or package scope");
scopep = it2->second;
}
nodep->classOrPackagep(nullptr); // No longer needed after V3Scope
// Search up the scope hierarchy for the variable
AstVarScope* varscp = nullptr;
AstScope* searchScopep = scopep;