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

23 lines
347 B
Plaintext
Raw Normal View History

2018-10-11 15:59:45 +00:00
{
let a := caller()
pop(a)
for { } a { pop(a) } {
a := address()
2018-10-11 15:59:45 +00:00
let c := a
}
let x := a
}
// ----
// step: rematerialiser
//
2018-10-11 15:59:45 +00:00
// {
// let a := caller()
// pop(caller())
// for { } a { pop(address()) }
2018-10-11 15:59:45 +00:00
// {
// a := address()
// let c := address()
2018-10-11 15:59:45 +00:00
// }
// let x := a
// }