solidity/test/libyul/yulOptimizerTests/rematerialiser/non_movable_instruction.yul

15 lines
206 B
Plaintext
Raw Normal View History

2018-10-11 15:59:45 +00:00
{
let a := 1
let b := mload(a)
let c := a
mstore(add(a, b), c)
}
// ----
// rematerialiser
// {
// let a := 1
// let b := mload(1)
// let c := 1
// mstore(add(1, b), 1)
// }