diff options
author | chriseth <c@ethdev.com> | 2017-01-06 18:33:08 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2017-01-13 00:52:26 +0800 |
commit | afad40ac5a259cf60cd2f5c8b31495f3f64f3e8e (patch) | |
tree | d7ad918559cfe5a2e9c1012aa7bb2bf1ef1fc69f /libevmasm/Assembly.cpp | |
parent | 74d74fb00bc159076d8322c5780894b1c2d68791 (diff) | |
download | dexon-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.cpp | 2 |
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: { |