diff options
author | chriseth <c@ethdev.com> | 2017-01-23 22:46:03 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2017-01-23 22:46:03 +0800 |
commit | 4713dd625df08fe6a5fe9cd29febcc225951c36d (patch) | |
tree | 2e36a0819af5ef34c525bb4318436a3d48c50b13 /libevmasm/Assembly.cpp | |
parent | 9c278448c8f61f752393b7950df3b47d3d5d0437 (diff) | |
download | dexon-solidity-4713dd625df08fe6a5fe9cd29febcc225951c36d.tar.gz dexon-solidity-4713dd625df08fe6a5fe9cd29febcc225951c36d.tar.zst dexon-solidity-4713dd625df08fe6a5fe9cd29febcc225951c36d.zip |
Fix error tag usage in lll.
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 845abfd4..0247593b 100644 --- a/libevmasm/Assembly.cpp +++ b/libevmasm/Assembly.cpp @@ -40,7 +40,7 @@ void Assembly::append(Assembly const& _a) auto newDeposit = m_deposit + _a.deposit(); for (AssemblyItem i: _a.m_items) { - if (i.type() == Tag || i.type() == PushTag) + if (i.type() == Tag || (i.type() == PushTag && i != errorTag())) i.setData(i.data() + m_usedTags); else if (i.type() == PushSub || i.type() == PushSubSize) i.setData(i.data() + m_subs.size()); |