2018-10-16 21:47:02 +00:00
|
|
|
{
|
|
|
|
function f(a, b) -> c, d {
|
|
|
|
b := add(b, a)
|
|
|
|
c := add(c, b)
|
|
|
|
d := add(d, c)
|
|
|
|
a := add(a, d)
|
|
|
|
}
|
|
|
|
}
|
2019-04-01 14:33:46 +00:00
|
|
|
// ====
|
|
|
|
// step: ssaTransform
|
2018-10-16 21:47:02 +00:00
|
|
|
// ----
|
|
|
|
// {
|
|
|
|
// function f(a, b) -> c, d
|
|
|
|
// {
|
2019-09-07 19:14:25 +00:00
|
|
|
// let b_5 := b
|
|
|
|
// let a_6 := a
|
|
|
|
// let b_1 := add(b_5, a_6)
|
2018-10-16 21:47:02 +00:00
|
|
|
// b := b_1
|
2018-11-07 18:27:15 +00:00
|
|
|
// let c_2 := add(c, b_1)
|
|
|
|
// c := c_2
|
|
|
|
// let d_3 := add(d, c_2)
|
|
|
|
// d := d_3
|
2019-09-07 19:14:25 +00:00
|
|
|
// let a_4 := add(a_6, d_3)
|
2018-11-07 18:27:15 +00:00
|
|
|
// a := a_4
|
2018-10-16 21:47:02 +00:00
|
|
|
// }
|
|
|
|
// }
|