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

24 lines
349 B
Plaintext
Raw Normal View History

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