Adjust cost of literal zero.

This commit is contained in:
chriseth
2021-04-22 11:42:42 +02:00
parent 1eff128b6d
commit 35b651103d
30 changed files with 172 additions and 212 deletions
@@ -20,7 +20,7 @@ contract test {
// compileViaYul: also
// ----
// set(uint8,uint8,uint8,uint8,uint8): 1, 21, 22, 42, 43 -> 0, 0, 0, 0
// gas irOptimized: 110002
// gas irOptimized: 109912
// gas legacy: 111406
// gas legacyOptimized: 107981
// get(uint8): 1 -> 21, 22, 42, 43