diff options
author | chriseth <c@ethdev.com> | 2016-11-25 04:08:30 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2016-11-25 23:10:57 +0800 |
commit | f5216249527a82834162d66f93f15a50346e38d4 (patch) | |
tree | fe87c1b8b6bf3453b056181ab8b896701aaadc2f /libevmasm/Assembly.cpp | |
parent | 8a78b1951600a936fadae6ea1644a49e491366f0 (diff) | |
download | dexon-solidity-f5216249527a82834162d66f93f15a50346e38d4.tar dexon-solidity-f5216249527a82834162d66f93f15a50346e38d4.tar.gz dexon-solidity-f5216249527a82834162d66f93f15a50346e38d4.tar.bz2 dexon-solidity-f5216249527a82834162d66f93f15a50346e38d4.tar.lz dexon-solidity-f5216249527a82834162d66f93f15a50346e38d4.tar.xz dexon-solidity-f5216249527a82834162d66f93f15a50346e38d4.tar.zst dexon-solidity-f5216249527a82834162d66f93f15a50346e38d4.zip |
Integrate AddPop.
Diffstat (limited to 'libevmasm/Assembly.cpp')
-rw-r--r-- | libevmasm/Assembly.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libevmasm/Assembly.cpp b/libevmasm/Assembly.cpp index 96306750..edbb9828 100644 --- a/libevmasm/Assembly.cpp +++ b/libevmasm/Assembly.cpp @@ -337,7 +337,7 @@ map<u256, u256> Assembly::optimiseInternal(bool _enable, bool _isCreation, size_ count = 0; PeepholeOptimiser peepOpt(m_items); - if (peepOpt.optimise()) + while (peepOpt.optimise()) count++; if (!_enable) |