diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2018-05-09 07:45:50 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2018-05-09 07:45:50 +0800 |
commit | 3b241843a77ed29d10355fc17383da18d979bc5b (patch) | |
tree | 64c1ca423862dcea7df7fdd9d3f7a8a15834395f /libjulia/optimiser/Disambiguator.h | |
parent | 10792dbc909bdd2c8ba7c0301ed81ee28b0ae1cc (diff) | |
download | dexon-solidity-3b241843a77ed29d10355fc17383da18d979bc5b.tar dexon-solidity-3b241843a77ed29d10355fc17383da18d979bc5b.tar.gz dexon-solidity-3b241843a77ed29d10355fc17383da18d979bc5b.tar.bz2 dexon-solidity-3b241843a77ed29d10355fc17383da18d979bc5b.tar.lz dexon-solidity-3b241843a77ed29d10355fc17383da18d979bc5b.tar.xz dexon-solidity-3b241843a77ed29d10355fc17383da18d979bc5b.tar.zst dexon-solidity-3b241843a77ed29d10355fc17383da18d979bc5b.zip |
Use NameDispenser in Disambiguator
Diffstat (limited to 'libjulia/optimiser/Disambiguator.h')
-rw-r--r-- | libjulia/optimiser/Disambiguator.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libjulia/optimiser/Disambiguator.h b/libjulia/optimiser/Disambiguator.h index 18ffd157..6fc8a615 100644 --- a/libjulia/optimiser/Disambiguator.h +++ b/libjulia/optimiser/Disambiguator.h @@ -23,6 +23,7 @@ #include <libjulia/ASTDataForward.h> #include <libjulia/optimiser/ASTCopier.h> +#include <libjulia/optimiser/NameDispenser.h> #include <libsolidity/inlineasm/AsmAnalysisInfo.h> @@ -60,7 +61,7 @@ protected: std::vector<solidity::assembly::Scope*> m_scopes; std::map<void const*, std::string> m_translations; - std::set<std::string> m_usedNames; + NameDispenser m_nameDispenser; }; } |