2018-10-16 21:47:02 +00:00
|
|
|
{
|
|
|
|
let a := mload(0)
|
|
|
|
for { mstore(0, a) } a { mstore(0, a) }
|
|
|
|
{
|
|
|
|
a := add(a, 3)
|
|
|
|
}
|
|
|
|
mstore(0, a)
|
|
|
|
}
|
|
|
|
// ----
|
2020-03-17 22:31:56 +00:00
|
|
|
// step: ssaTransform
|
|
|
|
//
|
2018-10-16 21:47:02 +00:00
|
|
|
// {
|
|
|
|
// let a_1 := mload(0)
|
|
|
|
// let a := a_1
|
2019-09-07 19:14:25 +00:00
|
|
|
// for { mstore(0, a_1) }
|
|
|
|
// a
|
2018-10-16 21:47:02 +00:00
|
|
|
// {
|
2019-09-07 19:14:25 +00:00
|
|
|
// let a_4 := a
|
|
|
|
// mstore(0, a_4)
|
|
|
|
// }
|
|
|
|
// {
|
|
|
|
// let a_3 := a
|
|
|
|
// let a_2 := add(a_3, 3)
|
2018-10-16 21:47:02 +00:00
|
|
|
// a := a_2
|
|
|
|
// }
|
2019-09-07 19:14:25 +00:00
|
|
|
// let a_5 := a
|
|
|
|
// mstore(0, a_5)
|
2018-10-16 21:47:02 +00:00
|
|
|
// }
|