aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/interface
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-11-09 07:21:37 +0800
committerchriseth <chris@ethereum.org>2018-11-09 22:40:36 +0800
commit0f2ba3522fb01713a417d7b66c6c586359d6d130 (patch)
tree1f1ac31a06c05ca2acdb3029b988b2bc7e489121 /libsolidity/interface
parent6bbedab383f7c8799ef7bcf4cad2bb008a7fcf2c (diff)
downloaddexon-solidity-0f2ba3522fb01713a417d7b66c6c586359d6d130.tar.gz
dexon-solidity-0f2ba3522fb01713a417d7b66c6c586359d6d130.tar.zst
dexon-solidity-0f2ba3522fb01713a417d7b66c6c586359d6d130.zip
Reset yul string repository.
Diffstat (limited to 'libsolidity/interface')
-rw-r--r--libsolidity/interface/CompilerStack.cpp3
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;