2020-08-20 14:56:25 +00:00
|
|
|
{
|
|
|
|
sstore(f(1), 1)
|
|
|
|
sstore(f(2), 1)
|
|
|
|
sstore(f(3), 1)
|
|
|
|
function f(a) -> x {
|
|
|
|
for {let b := 10} iszero(b) { b := sub(b, 1) }
|
|
|
|
{
|
|
|
|
a := calldataload(0)
|
|
|
|
mstore(a, x)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// ----
|
|
|
|
// step: fullSuite
|
|
|
|
//
|
|
|
|
// {
|
|
|
|
// {
|
2020-07-06 11:55:09 +00:00
|
|
|
// sstore(f_23_88(1), 1)
|
|
|
|
// sstore(f_23_88(2), 1)
|
|
|
|
// sstore(f_23_88(3), 1)
|
2020-08-20 14:56:25 +00:00
|
|
|
// }
|
2020-07-06 11:55:09 +00:00
|
|
|
// function f_23_88(a) -> x
|
2020-08-20 14:56:25 +00:00
|
|
|
// {
|
|
|
|
// let b := 10
|
2020-07-06 11:55:09 +00:00
|
|
|
// let a_1 := calldataload(x)
|
2020-08-20 14:56:25 +00:00
|
|
|
// for { } iszero(b) { b := add(b, not(0)) }
|
2020-07-06 11:55:09 +00:00
|
|
|
// { mstore(a_1, x) }
|
2020-08-20 14:56:25 +00:00
|
|
|
// }
|
|
|
|
// }
|