2019-05-02 12:24:30 +00:00
|
|
|
{
|
|
|
|
{
|
|
|
|
let a := foo_0(calldataload(0))
|
|
|
|
sstore(0, a)
|
|
|
|
}
|
|
|
|
function foo_0(x) -> y
|
|
|
|
{
|
2019-05-23 10:01:02 +00:00
|
|
|
y := 1
|
2019-05-02 12:24:30 +00:00
|
|
|
mstore8(1, 1)
|
2019-05-23 10:01:02 +00:00
|
|
|
for { } slt(1, keccak256(1, msize())) { let x_1 := foo_0(x) }
|
2019-05-02 12:24:30 +00:00
|
|
|
{
|
2019-05-23 10:01:02 +00:00
|
|
|
y := add(y, 1)
|
2019-05-02 12:24:30 +00:00
|
|
|
continue
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// ----
|
|
|
|
// Trace:
|
|
|
|
// Memory dump:
|
|
|
|
// 0: 0001000000000000000000000000000000000000000000000000000000000000
|
|
|
|
// Storage dump:
|
2019-05-23 10:01:02 +00:00
|
|
|
// 0000000000000000000000000000000000000000000000000000000000000000: 0000000000000000000000000000000000000000000000000000000000000002
|