some more work

This commit is contained in:
chriseth
2022-12-19 14:34:08 +01:00
parent bd7676873e
commit ddbcea047b
4 changed files with 395 additions and 339 deletions
@@ -0,0 +1,21 @@
{
let a := calldataload(0)
if calldataload(1) {
// this can be removed
a := 2
revert(0, 0)
}
sstore(0, a)
}
// ----
// step: unusedAssignEliminator
//
// {
// let a := calldataload(0)
// if calldataload(1)
// {
// a := 2
// revert(0, 0)
// }
// sstore(0, a)
// }