mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
15 lines
207 B
Plaintext
15 lines
207 B
Plaintext
{
|
|
let y := 200
|
|
switch calldataload(0)
|
|
case 0 { }
|
|
case 1 { y := 9 }
|
|
default { }
|
|
}
|
|
// ====
|
|
// step: controlFlowSimplifier
|
|
// ----
|
|
// {
|
|
// let y := 200
|
|
// if eq(1, calldataload(0)) { y := 9 }
|
|
// }
|