Merge pull request #5260 from ethereum/flattenMore

Flatten more.
This commit is contained in:
chriseth 2018-10-19 11:08:46 +02:00 committed by GitHub
commit 5c274a9251
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,22 @@
{
let a := 1
switch calldataload(0)
case 0 { { { mstore(0, 1) } } a := 8 }
default { a := 3 { a := 4 } }
a := 5
}
// ----
// blockFlattener
// {
// let a := 1
// switch calldataload(0)
// case 0 {
// mstore(0, 1)
// a := 8
// }
// default {
// a := 3
// a := 4
// }
// a := 5
// }