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

26 lines
376 B
Plaintext
Raw Normal View History

2018-10-11 15:59:45 +00:00
{
let a := caller()
2018-10-11 15:59:45 +00:00
for { pop(a) } a { pop(a) } {
a := address()
2018-10-11 15:59:45 +00:00
let c := a
}
let x := a
}
// ----
// rematerialiser
// {
// let a := caller()
2018-10-11 15:59:45 +00:00
// for {
// pop(caller())
2018-10-11 15:59:45 +00:00
// }
// 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
// }