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

23 lines
352 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
}
2019-04-01 14:33:46 +00:00
// ====
// 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
// }