aboutsummaryrefslogtreecommitdiffstats
path: root/libevmasm/Assembly.cpp
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2017-01-06 18:33:08 +0800
committerchriseth <c@ethdev.com>2017-01-13 00:52:26 +0800
commitafad40ac5a259cf60cd2f5c8b31495f3f64f3e8e (patch)
treed7ad918559cfe5a2e9c1012aa7bb2bf1ef1fc69f /libevmasm/Assembly.cpp
parent74d74fb00bc159076d8322c5780894b1c2d68791 (diff)
downloaddexon-solidity-afad40ac5a259cf60cd2f5c8b31495f3f64f3e8e.tar.gz
dexon-solidity-afad40ac5a259cf60cd2f5c8b31495f3f64f3e8e.tar.zst
dexon-solidity-afad40ac5a259cf60cd2f5c8b31495f3f64f3e8e.zip
Optimise AssemblyItem::m_data.
Diffstat (limited to 'libevmasm/Assembly.cpp')
-rw-r--r--libevmasm/Assembly.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libevmasm/Assembly.cpp b/libevmasm/Assembly.cpp
index f50a38a6..845abfd4 100644
--- a/libevmasm/Assembly.cpp
+++ b/libevmasm/Assembly.cpp
@@ -416,7 +416,7 @@ LinkerObject const& Assembly::assemble() const
switch (i.type())
{
case Operation:
- ret.bytecode.push_back((byte)i.data());
+ ret.bytecode.push_back((byte)i.instruction());
break;
case PushString:
{