solidity/test/libyul/evmCodeTransform/stackReuse/function_retparam_declaration.yul

19 lines
234 B
Plaintext
Raw Normal View History

{
function f() -> x { pop(address()) let y := callvalue() }
}
// ====
// stackOptimization: true
// ----
// PUSH1 0xD
// JUMP
// JUMPDEST
// ADDRESS
// POP
2021-03-09 15:42:47 +00:00
// PUSH1 0x0
// CALLVALUE
// POP
// JUMPDEST
// SWAP1
// JUMP
// JUMPDEST