2023-07-11 09:32:02 +00:00
|
|
|
{
|
|
|
|
function fun_revert() -> ret { revert(0, 0) }
|
|
|
|
function fun_return() -> ret { return(0, 0) }
|
|
|
|
function empty(a, b) {}
|
|
|
|
|
|
|
|
// Evaluation order in Yul is right to left so fun_revert() should run first.
|
|
|
|
empty(fun_return(), fun_revert())
|
|
|
|
}
|
|
|
|
// ----
|
|
|
|
// step: fullInlinerWithoutSplitter
|
|
|
|
//
|
|
|
|
// {
|
|
|
|
// {
|
2023-07-11 10:13:00 +00:00
|
|
|
// let ret_3 := 0
|
2023-07-11 09:32:02 +00:00
|
|
|
// revert(0, 0)
|
2023-07-11 10:13:00 +00:00
|
|
|
// let b_1 := ret_3
|
|
|
|
// let ret_1_4 := 0
|
|
|
|
// return(0, 0)
|
|
|
|
// let a_2 := ret_1_4
|
2023-07-11 09:32:02 +00:00
|
|
|
// }
|
|
|
|
// function fun_revert() -> ret
|
|
|
|
// { revert(0, 0) }
|
|
|
|
// function fun_return() -> ret_1
|
|
|
|
// { return(0, 0) }
|
|
|
|
// function empty(a, b)
|
|
|
|
// { }
|
|
|
|
// }
|