2018-10-02 08:46:59 +00:00
|
|
|
{
|
2019-04-05 18:38:23 +00:00
|
|
|
let x := f(0)
|
|
|
|
for { } f(x) { x := f(x) }
|
2018-10-02 08:46:59 +00:00
|
|
|
{
|
|
|
|
let t := f(x)
|
|
|
|
}
|
|
|
|
function f(a) -> r {
|
|
|
|
sstore(a, 0)
|
|
|
|
r := a
|
|
|
|
}
|
|
|
|
}
|
2019-04-01 14:33:46 +00:00
|
|
|
// ====
|
|
|
|
// step: fullInliner
|
2018-10-02 08:46:59 +00:00
|
|
|
// ----
|
|
|
|
// {
|
|
|
|
// {
|
2019-04-05 18:38:23 +00:00
|
|
|
// let a_3 := 0
|
|
|
|
// let r_4 := 0
|
|
|
|
// sstore(a_3, 0)
|
|
|
|
// r_4 := a_3
|
|
|
|
// let x := r_4
|
2019-05-08 10:41:19 +00:00
|
|
|
// for { }
|
2018-10-02 08:46:59 +00:00
|
|
|
// f(x)
|
|
|
|
// {
|
2019-03-04 17:03:30 +00:00
|
|
|
// let a_6 := x
|
|
|
|
// let r_7 := 0
|
|
|
|
// sstore(a_6, 0)
|
|
|
|
// r_7 := a_6
|
|
|
|
// x := r_7
|
2018-10-02 08:46:59 +00:00
|
|
|
// }
|
|
|
|
// {
|
2019-03-04 17:03:30 +00:00
|
|
|
// let a_9 := x
|
|
|
|
// let r_10 := 0
|
|
|
|
// sstore(a_9, 0)
|
|
|
|
// r_10 := a_9
|
|
|
|
// let t := r_10
|
2018-10-02 08:46:59 +00:00
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// function f(a) -> r
|
|
|
|
// {
|
|
|
|
// sstore(a, 0)
|
|
|
|
// r := a
|
|
|
|
// }
|
|
|
|
// }
|