solidity/test/libyul/yulOptimizerTests/memoryStoreRemover/simple3.yul
2021-04-26 09:33:18 +02:00

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))
// }