mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
25 lines
337 B
Plaintext
25 lines
337 B
Plaintext
{
|
|
f()
|
|
pop(mload(16))
|
|
function f() {
|
|
let x := 10
|
|
let y := 20
|
|
|
|
// cannot be removed
|
|
mstore(x, y)
|
|
}
|
|
}
|
|
// ----
|
|
// step: memoryStoreRemover
|
|
//
|
|
// {
|
|
// f()
|
|
// pop(mload(16))
|
|
// function f()
|
|
// {
|
|
// let x := 10
|
|
// let y := 20
|
|
// mstore(x, y)
|
|
// }
|
|
// }
|