aboutsummaryrefslogtreecommitdiffstats
path: root/libevmasm/Assembly.cpp
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-01-13 01:43:55 +0800
committerGitHub <noreply@github.com>2017-01-13 01:43:55 +0800
commit6b364fc2fe1e627b83267c161c6e1fcf8dd153eb (patch)
treef9e385002d1a97f5c88733f13669ba0d28420658 /libevmasm/Assembly.cpp
parent74d74fb00bc159076d8322c5780894b1c2d68791 (diff)
parent3cfa851f6f4175ef17c4fc1079cda67b516a2d72 (diff)
downloaddexon-solidity-6b364fc2fe1e627b83267c161c6e1fcf8dd153eb.tar.gz
dexon-solidity-6b364fc2fe1e627b83267c161c6e1fcf8dd153eb.tar.zst
dexon-solidity-6b364fc2fe1e627b83267c161c6e1fcf8dd153eb.zip
Merge pull request #1549 from ethereum/optimizeOptimizer
Optimize optimizer
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:
{