Do not replace zeros by return variable.

This commit is contained in:
chriseth
2021-04-22 16:54:02 +02:00
parent cd13fcd758
commit 00fb2d390b
75 changed files with 150 additions and 130 deletions
@@ -38,12 +38,12 @@ contract c {
// compileViaYul: also
// ----
// set(uint256): 7 -> true
// gas irOptimized: 101844
// gas irOptimized: 101849
// gas legacy: 102216
// gas legacyOptimized: 101606
// retrieve(uint256): 7 -> 1, 3, 4, 2
// copy(uint256,uint256): 7, 8 -> true
// gas irOptimized: 105161
// gas irOptimized: 105169
// gas legacy: 105566
// gas legacyOptimized: 105022
// retrieve(uint256): 7 -> 1, 3, 4, 2