mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
18 lines
253 B
Plaintext
18 lines
253 B
Plaintext
{
|
|
let x := 10
|
|
let y := 20
|
|
// This should not be removed
|
|
mstore(x, y)
|
|
// reads from x
|
|
pop(mload(x))
|
|
}
|
|
// ----
|
|
// step: memoryStoreRemover
|
|
//
|
|
// {
|
|
// let x := 10
|
|
// let y := 20
|
|
// mstore(x, y)
|
|
// pop(mload(x))
|
|
// }
|