Internals: NodeModule for packages.

This commit is contained in:
Wilson Snyder
2020-04-12 14:53:10 -04:00
parent 1e2d73fc80
commit d4b6e2b2b5
5 changed files with 32 additions and 31 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ private:
AstUser2InUse m_inuser2;
// TYPES
typedef vl_unordered_map<AstPackage*, AstScope*> PackageScopeMap;
typedef vl_unordered_map<AstNodeModule*, AstScope*> PackageScopeMap;
// These cannot be unordered unless make a specialized hashing pair (gcc-8)
typedef std::map<std::pair<AstVar*, AstScope*>, AstVarScope*> VarScopeMap;
typedef std::set<std::pair<AstVarRef*, AstScope*> > VarRefScopeSet;