solidity/test/libyul/yulOptimizerTests/expressionInliner/double_recursive_calls.yul
2018-10-15 11:52:35 +02:00

19 lines
395 B
Plaintext

{
function f(a, r) -> x { x := g(a, g(r, r)) }
function g(b, s) -> y { y := f(b, f(s, s)) }
let y := g(calldatasize(), 7)
}
// ----
// expressionInliner
// {
// function f(a, r) -> x
// {
// x := g(a, f(r, f(r, r)))
// }
// function g(b, s) -> y
// {
// y := f(b, g(s, f(s, f(s, s))))
// }
// let y_1 := f(calldatasize(), g(7, f(7, f(7, 7))))
// }