diff --git a/src/asm/symbol.cpp b/src/asm/symbol.cpp index e2debec7..b7f7d289 100644 --- a/src/asm/symbol.cpp +++ b/src/asm/symbol.cpp @@ -6,9 +6,9 @@ #include #include #include -#include #include #include +#include #include "error.hpp" #include "helpers.hpp" @@ -22,7 +22,7 @@ #include "asm/output.hpp" #include "asm/warning.hpp" -std::map symbols; +std::unordered_map symbols; static std::optional labelScope = std::nullopt; // Current section's label scope static Symbol *PCSymbol; diff --git a/src/link/symbol.cpp b/src/link/symbol.cpp index 184f5077..b062db2a 100644 --- a/src/link/symbol.cpp +++ b/src/link/symbol.cpp @@ -3,8 +3,8 @@ #include "link/symbol.hpp" #include -#include #include +#include #include "error.hpp" #include "helpers.hpp" @@ -13,7 +13,7 @@ #include "link/object.hpp" #include "link/section.hpp" -std::map symbols; +std::unordered_map symbols; Label &Symbol::label() { assert(std::holds_alternative