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

23 lines
305 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) } {
pop(a)
}
}
2019-04-01 14:33:46 +00:00
// ====
// step: rematerialiser
2018-10-11 15:59:45 +00:00
// ----
// {
// let a := caller()
2018-10-11 15:59:45 +00:00
// for {
// pop(caller())
2018-10-11 15:59:45 +00:00
// }
// caller()
2018-10-11 15:59:45 +00:00
// {
// pop(caller())
2018-10-11 15:59:45 +00:00
// }
// {
// pop(caller())
2018-10-11 15:59:45 +00:00
// }
// }