mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
18 lines
267 B
Plaintext
18 lines
267 B
Plaintext
// z is only removed after the if (after the jumpdest)
|
|
{ let z := mload(0) if z { let x := z } let t := 3 }
|
|
// ====
|
|
// stackOptimization: true
|
|
// ----
|
|
// PUSH1 0x0
|
|
// MLOAD
|
|
// DUP1
|
|
// ISZERO
|
|
// PUSH1 0xA
|
|
// JUMPI
|
|
// DUP1
|
|
// POP
|
|
// JUMPDEST
|
|
// POP
|
|
// PUSH1 0x3
|
|
// POP
|