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

18 lines
222 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)
}
// ----
// step: rematerialiser
//
2018-10-11 15:59:45 +00:00
// {
// let a := 1
// pop(1)
// if 1 { a := 2 }
2018-10-11 15:59:45 +00:00
// let b := mload(a)
// pop(b)
// }