diff options
author | chriseth <c@ethdev.com> | 2016-11-11 23:35:13 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2016-11-16 21:37:19 +0800 |
commit | cb000a55328d0d1980f2a645e06d4f125ef89e47 (patch) | |
tree | 92571f6f4cdd17185d19e12f5ac243c3b59c76b7 /libevmasm/AssemblyItem.cpp | |
parent | 390ba085b63e3968b555eeab0ddf8ef429e7c0ee (diff) | |
download | dexon-solidity-cb000a55328d0d1980f2a645e06d4f125ef89e47.tar.gz dexon-solidity-cb000a55328d0d1980f2a645e06d4f125ef89e47.tar.zst dexon-solidity-cb000a55328d0d1980f2a645e06d4f125ef89e47.zip |
Fix setting the tag.
Diffstat (limited to 'libevmasm/AssemblyItem.cpp')
-rw-r--r-- | libevmasm/AssemblyItem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libevmasm/AssemblyItem.cpp b/libevmasm/AssemblyItem.cpp index bc8c87aa..7bd93eaf 100644 --- a/libevmasm/AssemblyItem.cpp +++ b/libevmasm/AssemblyItem.cpp @@ -46,7 +46,7 @@ pair<size_t, size_t> AssemblyItem::splitForeignPushTag() const void AssemblyItem::setPushTagSubIdAndTag(size_t _subId, size_t _tag) { assertThrow(m_type == PushTag || m_type == Tag, Exception, ""); - setData(_tag + ((u256(_subId) + 1) << 64)); + setData(_tag + (u256(_subId + 1) << 64)); } unsigned AssemblyItem::bytesRequired(unsigned _addressLength) const |