solidity/test/libyul/yulOptimizerTests/expressionInliner/double_recursive_calls.yul

18 lines
391 B
Plaintext
Raw Normal View History

2018-10-11 14:58:21 +00:00
{
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)
}
2019-04-01 14:33:46 +00:00
// ====
// step: expressionInliner
2018-10-11 14:58:21 +00:00
// ----
// {
// function f(a, r) -> x
// { x := g(a, f(r, f(r, r))) }
2018-10-11 14:58:21 +00:00
// 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))))
// }