solidity/test/libyul/yulOptimizerTests/fakeStackLimitEvader/function_arg.yul

21 lines
333 B
Plaintext
Raw Normal View History

2020-07-02 10:48:20 +00:00
{
mstore(0x40, memoryguard(0))
let $x := 0
sstore(0, $x)
function h($hx) -> y {
y := $hx
}
sstore(1, h(32))
}
// ----
// step: fakeStackLimitEvader
//
// {
// mstore(0x40, memoryguard(0x40))
// mstore(0x00, 0)
// sstore(0, mload(0x00))
2020-07-02 10:48:20 +00:00
// function h($hx) -> y
// { y := $hx }
// sstore(1, h(32))
// }