solidity/test/libyul/evmCodeTransform/stackReuse/function_call.yul
Daniel Kirchner fd36ec3dca Test updates.
2021-07-06 19:05:36 +02:00

37 lines
513 B
Plaintext

{
let b := f(1, 2)
function f(a, r) -> t { }
b := f(3, 4)
}
// ====
// stackOptimization: true
// ----
// tag_1
// /* "":20:21 */
// 0x02
// /* "":17:18 */
// 0x01
// /* "":15:22 */
// tag_2
// jump // in
// tag_1:
// pop
// tag_3
// /* "":67:68 */
// 0x04
// /* "":64:65 */
// 0x03
// /* "":62:69 */
// tag_2
// jump // in
// tag_3:
// pop
// stop
// /* "":27:52 */
// tag_2:
// pop
// pop
// 0x00
// swap1
// jump // out