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

16 lines
215 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)
}
// ----
// step: rematerialiser
//
2018-10-11 15:59:45 +00:00
// {
// let a := 1
// let b := mload(1)
// let c := 1
// mstore(add(1, b), 1)
// }