mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
18 lines
250 B
Plaintext
18 lines
250 B
Plaintext
{
|
|
let x := 10
|
|
let y := 60
|
|
// can be removed
|
|
mstore(x, y)
|
|
// Does not read from [10, 42)
|
|
pop(mload(y))
|
|
}
|
|
// ----
|
|
// step: memoryStoreRemover
|
|
//
|
|
// {
|
|
// let x := 10
|
|
// let y := 60
|
|
// pop(y)
|
|
// pop(mload(y))
|
|
// }
|