Skip to content

Commit

Permalink
Internals: Avoid unordered_set
Browse files Browse the repository at this point in the history
  • Loading branch information
wsnyder committed Aug 12, 2023
1 parent b752faa commit 709db5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/V3Broken.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,9 @@ class BrokenCheckVisitor final : public VNVisitorConst {
// Current CFunc, if any
const AstCFunc* m_cfuncp = nullptr;
// All local variables declared in current function
std::unordered_set<const AstVar*> m_localVars;
std::set<const AstVar*> m_localVars;
// Variable references in current function that do not reference an in-scope local
std::unordered_map<const AstVar*, const AstNodeVarRef*> m_suspectRefs;
std::map<const AstVar*, const AstNodeVarRef*> m_suspectRefs;
// Local variables declared in the scope of the current statement
std::vector<std::unordered_set<const AstVar*>> m_localsStack;

Expand Down

0 comments on commit 709db5c

Please sign in to comment.