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
@@ -10,5 +10,5 @@
// {
// sstore(sub(f(), f()), 8)
// function f() -> a
// { mstore(a, 1) }
// { mstore(0, 1) }
// }
@@ -11,5 +11,5 @@
// pop(f())
// mstore(0, 0)
// function f() -> x
// { mstore(x, 1337) }
// { mstore(0, 1337) }
// }
@@ -12,5 +12,5 @@
// {
// let t, v := f()
// function f() -> c, d
// { sstore(d, 7) }
// { sstore(0, 7) }
// }