mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Really split structural simplifier.
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
{
|
||||
let y := 200
|
||||
switch calldataload(0)
|
||||
case 1 { y := 9 }
|
||||
case 2 { y := 10 }
|
||||
default { }
|
||||
}
|
||||
// ====
|
||||
// step: controlFlowSimplifier
|
||||
// ----
|
||||
// {
|
||||
// let y := 200
|
||||
// switch calldataload(0)
|
||||
// case 1 { y := 9 }
|
||||
// case 2 { y := 10 }
|
||||
// }
|
||||
Reference in New Issue
Block a user