mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
23 lines
534 B
Plaintext
23 lines
534 B
Plaintext
{
|
|
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
|
|
//
|
|
// {
|
|
// {
|
|
// empty(fun_return(), fun_revert())
|
|
// }
|
|
// function fun_revert() -> ret
|
|
// { revert(0, 0) }
|
|
// function fun_return() -> ret_1
|
|
// { return(0, 0) }
|
|
// function empty(a, b)
|
|
// { }
|
|
// }
|