mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Do not replace zeros by return variable.
This commit is contained in:
+1
-1
@@ -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) }
|
||||
// }
|
||||
|
||||
Reference in New Issue
Block a user