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 /test/libyul | |
parent | 6bbedab383f7c8799ef7bcf4cad2bb008a7fcf2c (diff) | |
parent | 0f2ba3522fb01713a417d7b66c6c586359d6d130 (diff) | |
download | dexon-solidity-dffbeebf606c41442fd79bdaf59cfa6649ffc0d0.tar.gz dexon-solidity-dffbeebf606c41442fd79bdaf59cfa6649ffc0d0.tar.zst dexon-solidity-dffbeebf606c41442fd79bdaf59cfa6649ffc0d0.zip |
Merge pull request #5377 from ethereum/resetYulString
Reset yul string repository.
Diffstat (limited to 'test/libyul')
-rw-r--r-- | test/libyul/YulOptimizerTest.cpp | 2 |
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; |