aboutsummaryrefslogtreecommitdiffstats
path: root/test
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 /test
parent6bbedab383f7c8799ef7bcf4cad2bb008a7fcf2c (diff)
downloaddexon-solidity-0f2ba3522fb01713a417d7b66c6c586359d6d130.tar.gz
dexon-solidity-0f2ba3522fb01713a417d7b66c6c586359d6d130.tar.zst
dexon-solidity-0f2ba3522fb01713a417d7b66c6c586359d6d130.zip
Reset yul string repository.
Diffstat (limited to 'test')
-rw-r--r--test/libyul/YulOptimizerTest.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/libyul/YulOptimizerTest.cpp b/test/libyul/YulOptimizerTest.cpp
index d455c892..38390035 100644
--- a/test/libyul/YulOptimizerTest.cpp
+++ b/test/libyul/YulOptimizerTest.cpp
@@ -90,6 +90,8 @@ YulOptimizerTest::YulOptimizerTest(string const& _filename)
bool YulOptimizerTest::run(ostream& _stream, string const& _linePrefix, bool const _formatted)
{
+ yul::YulStringRepository::instance().reset();
+
assembly::AsmPrinter printer{m_yul};
shared_ptr<Block> ast;
shared_ptr<assembly::AsmAnalysisInfo> analysisInfo;