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

20 lines
238 B
Plaintext
Raw Normal View History

2018-10-11 15:59:45 +00:00
{
let a := 1
pop(a)
if a { a := 2 }
let b := mload(a)
pop(b)
}
// ----
// rematerialiser
// {
// let a := 1
// pop(1)
// if 1
// {
// a := 2
// }
// let b := mload(a)
// pop(b)
// }