aboutsummaryrefslogtreecommitdiffstats
path: root/test/liblll/EndToEndTest.cpp
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-06-15 16:50:07 +0800
committerGitHub <noreply@github.com>2017-06-15 16:50:07 +0800
commitfb5db94879cdd6358d5b8a8a0097aff4b8dd680b (patch)
tree4ffd0a808868aa5e743ab1ebf66db77bb0d1da67 /test/liblll/EndToEndTest.cpp
parent1636602fc434da0b2d1a939870d2886facee209c (diff)
parent7af9d1000668c9628a2ee6294975cd7558ee1dbf (diff)
downloaddexon-solidity-fb5db94879cdd6358d5b8a8a0097aff4b8dd680b.tar
dexon-solidity-fb5db94879cdd6358d5b8a8a0097aff4b8dd680b.tar.gz
dexon-solidity-fb5db94879cdd6358d5b8a8a0097aff4b8dd680b.tar.bz2
dexon-solidity-fb5db94879cdd6358d5b8a8a0097aff4b8dd680b.tar.lz
dexon-solidity-fb5db94879cdd6358d5b8a8a0097aff4b8dd680b.tar.xz
dexon-solidity-fb5db94879cdd6358d5b8a8a0097aff4b8dd680b.tar.zst
dexon-solidity-fb5db94879cdd6358d5b8a8a0097aff4b8dd680b.zip
Merge pull request #2397 from ethereum/doublepush
Peephole optimizer for double push.
Diffstat (limited to 'test/liblll/EndToEndTest.cpp')
-rw-r--r--test/liblll/EndToEndTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/liblll/EndToEndTest.cpp b/test/liblll/EndToEndTest.cpp
index 9021fa43..3928ff45 100644
--- a/test/liblll/EndToEndTest.cpp
+++ b/test/liblll/EndToEndTest.cpp
@@ -272,7 +272,7 @@ BOOST_AUTO_TEST_CASE(assembly_codecopy)
(seq
(lit 0x00 "abcdef")
(asm
- 0x06 0x16 0x20 codecopy
+ 0x06 6 codesize sub 0x20 codecopy
0x20 0x20 return)))
)";
compileAndRun(sourceCode);