solidity/test/libyul/yulOptimizerTests/controlFlowSimplifier/switch_to_if.yul
2019-05-13 10:26:57 +02:00

10 lines
159 B
Plaintext

{
switch calldataload(0) case 2 { mstore(0, 0) }
}
// ====
// step: controlFlowSimplifier
// ----
// {
// if eq(2, calldataload(0)) { mstore(0, 0) }
// }