solidity/test/libyul/yulOptimizerTests/rematerialiser/non_movable_instruction.yul
2019-04-03 14:58:20 +02:00

16 lines
220 B
Plaintext

{
let a := 1
let b := mload(a)
let c := a
mstore(add(a, b), c)
}
// ====
// step: rematerialiser
// ----
// {
// let a := 1
// let b := mload(1)
// let c := 1
// mstore(add(1, b), 1)
// }