2021-03-09 15:39:40 +00:00
|
|
|
{
|
|
|
|
function f(a, b, c) -> x { pop(address()) sstore(a, c) pop(callvalue()) x := b }
|
|
|
|
}
|
|
|
|
// ====
|
|
|
|
// stackOptimization: true
|
|
|
|
// ----
|
|
|
|
// PUSH1 0x17
|
|
|
|
// JUMP
|
|
|
|
// JUMPDEST
|
|
|
|
// ADDRESS
|
|
|
|
// POP
|
|
|
|
// DUP3
|
2021-03-09 15:42:47 +00:00
|
|
|
// DUP2
|
2021-03-09 15:39:40 +00:00
|
|
|
// SSTORE
|
2021-03-09 15:42:47 +00:00
|
|
|
// POP
|
2021-03-09 15:39:40 +00:00
|
|
|
// CALLVALUE
|
|
|
|
// POP
|
2021-03-09 15:42:47 +00:00
|
|
|
// PUSH1 0x0
|
|
|
|
// DUP2
|
2021-03-09 15:39:40 +00:00
|
|
|
// SWAP1
|
|
|
|
// POP
|
|
|
|
// JUMPDEST
|
|
|
|
// SWAP3
|
2021-03-09 15:42:47 +00:00
|
|
|
// SWAP2
|
2021-03-09 15:39:40 +00:00
|
|
|
// POP
|
|
|
|
// POP
|
|
|
|
// JUMP
|
|
|
|
// JUMPDEST
|