mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
16 lines
370 B
Plaintext
16 lines
370 B
Plaintext
{
|
|
function f(a) -> x { x := add(a, a) }
|
|
function g(b, c) -> y { y := mul(mload(c), f(b)) }
|
|
let y := g(calldatasize(), 7)
|
|
}
|
|
// ====
|
|
// step: expressionInliner
|
|
// ----
|
|
// {
|
|
// function f(a) -> x
|
|
// { x := add(a, a) }
|
|
// function g(b, c) -> y
|
|
// { y := mul(mload(c), add(b, b)) }
|
|
// let y_1 := mul(mload(7), add(calldatasize(), calldatasize()))
|
|
// }
|