solidity/test/libyul/yulOptimizerTests/fullInliner/no_inline_leave.yul

23 lines
355 B
Plaintext
Raw Normal View History

2019-10-28 14:46:58 +00:00
{
function g() -> x { x := 8 leave }
function f(a) { a := g() }
let a1 := calldataload(0)
f(a1)
}
// ====
// step: fullInliner
// ----
// {
// {
// let a_2 := calldataload(0)
// a_2 := g()
// }
// function g() -> x
// {
// x := 8
// leave
// }
// function f(a)
// { a := g() }
// }