mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
33 lines
808 B
Plaintext
33 lines
808 B
Plaintext
|
{
|
||
|
function g_(x) -> z_ {
|
||
|
if calldataload(1) { z_ := g_(x) }
|
||
|
sstore(z_, calldataload(add(x, 1)))
|
||
|
}
|
||
|
function datasize_(x) -> linkersymbol_ {
|
||
|
if calldataload(0) { linkersymbol_ := datasize_(x) }
|
||
|
sstore(linkersymbol_, calldataload(linkersymbol_))
|
||
|
}
|
||
|
let dataoffset_ := datasize_(7)
|
||
|
let x_ := g_(9)
|
||
|
sstore(dataoffset_, x_)
|
||
|
}
|
||
|
// ----
|
||
|
// step: fullSuite
|
||
|
//
|
||
|
// {
|
||
|
// {
|
||
|
// let dataoffset_ := datasize_(7)
|
||
|
// sstore(dataoffset_, g(9))
|
||
|
// }
|
||
|
// function g(x) -> z
|
||
|
// {
|
||
|
// if calldataload(1) { z := g(x) }
|
||
|
// sstore(z, calldataload(add(x, 1)))
|
||
|
// }
|
||
|
// function datasize_(x) -> linkersymbol_
|
||
|
// {
|
||
|
// if calldataload(linkersymbol_) { linkersymbol_ := datasize_(x) }
|
||
|
// sstore(linkersymbol_, calldataload(linkersymbol_))
|
||
|
// }
|
||
|
// }
|