diff options
author | chriseth <chris@ethereum.org> | 2018-11-09 23:06:51 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-09 23:06:51 +0800 |
commit | dffbeebf606c41442fd79bdaf59cfa6649ffc0d0 (patch) | |
tree | 1f1ac31a06c05ca2acdb3029b988b2bc7e489121 /libsolidity/interface/CompilerStack.cpp | |
parent | 6bbedab383f7c8799ef7bcf4cad2bb008a7fcf2c (diff) | |
parent | 0f2ba3522fb01713a417d7b66c6c586359d6d130 (diff) | |
download | dexon-solidity-dffbeebf606c41442fd79bdaf59cfa6649ffc0d0.tar dexon-solidity-dffbeebf606c41442fd79bdaf59cfa6649ffc0d0.tar.gz dexon-solidity-dffbeebf606c41442fd79bdaf59cfa6649ffc0d0.tar.bz2 dexon-solidity-dffbeebf606c41442fd79bdaf59cfa6649ffc0d0.tar.lz dexon-solidity-dffbeebf606c41442fd79bdaf59cfa6649ffc0d0.tar.xz dexon-solidity-dffbeebf606c41442fd79bdaf59cfa6649ffc0d0.tar.zst dexon-solidity-dffbeebf606c41442fd79bdaf59cfa6649ffc0d0.zip |
Merge pull request #5377 from ethereum/resetYulString
Reset yul string repository.
Diffstat (limited to 'libsolidity/interface/CompilerStack.cpp')
-rw-r--r-- | libsolidity/interface/CompilerStack.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libsolidity/interface/CompilerStack.cpp b/libsolidity/interface/CompilerStack.cpp index 1f58245f..e0909eb3 100644 --- a/libsolidity/interface/CompilerStack.cpp +++ b/libsolidity/interface/CompilerStack.cpp @@ -47,6 +47,8 @@ #include <libevmasm/Exceptions.h> +#include <libyul/YulString.h> + #include <libdevcore/SwarmHash.h> #include <libdevcore/JSON.h> @@ -104,6 +106,7 @@ void CompilerStack::reset(bool _keepSources) m_stackState = Empty; m_sources.clear(); } + yul::YulStringRepository::instance().reset(); m_libraries.clear(); m_evmVersion = EVMVersion(); m_optimize = false; |