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

26 lines
437 B
Plaintext

{
function f(a, b, c) -> x { pop(address()) sstore(a, c) pop(callvalue()) x := b }
}
// ====
// stackOptimization: true
// ----
// stop
// /* "":6:86 */
// tag_1:
// swap2
// swap1
// swap2
// /* "":37:46 */
// address
// /* "":33:47 */
// pop
// /* "":48:60 */
// sstore
// /* "":65:76 */
// callvalue
// /* "":61:77 */
// pop
// swap1
// /* "":6:86 */
// jump // out