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

17 lines
249 B
Plaintext
Raw Normal View History

2018-10-11 15:59:45 +00:00
{
let a := caller()
pop(a)
for { } a { pop(a) } {
2018-10-11 15:59:45 +00:00
pop(a)
}
}
2019-04-01 14:33:46 +00:00
// ====
// step: rematerialiser
2018-10-11 15:59:45 +00:00
// ----
// {
// let a := caller()
// pop(caller())
// for { } caller() { pop(caller()) }
// { pop(caller()) }
2018-10-11 15:59:45 +00:00
// }