mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
21 lines
287 B
Plaintext
21 lines
287 B
Plaintext
{
|
|
let x := calldataload(0)
|
|
switch x
|
|
case 0 { }
|
|
case 1 { }
|
|
default { }
|
|
|
|
pop(x)
|
|
}
|
|
// ----
|
|
// step: conditionalSimplifier
|
|
//
|
|
// {
|
|
// let x := calldataload(0)
|
|
// switch x
|
|
// case 0 { x := 0 }
|
|
// case 1 { x := 1 }
|
|
// default { }
|
|
// pop(x)
|
|
// }
|