From 709db5c648d8a511266e62f60de0e24d79bedb2e Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Sat, 12 Aug 2023 08:46:25 -0400 Subject: [PATCH] Internals: Avoid unordered_set --- src/V3Broken.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/V3Broken.cpp b/src/V3Broken.cpp index 14c01d029a..cc8c4e7805 100644 --- a/src/V3Broken.cpp +++ b/src/V3Broken.cpp @@ -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 m_localVars; + std::set m_localVars; // Variable references in current function that do not reference an in-scope local - std::unordered_map m_suspectRefs; + std::map m_suspectRefs; // Local variables declared in the scope of the current statement std::vector> m_localsStack;