update new test.

This commit is contained in:
chriseth 2022-03-17 17:32:50 +01:00
parent d145919b5d
commit cda882d130

View File

@ -4,11 +4,11 @@
sstore(x, y) sstore(x, y)
switch calldataload(2) switch calldataload(2)
case 0 { case 0 {
x := 2 x := 20
sstore(x, y) sstore(x, y)
} }
default { default {
x := 3 x := 30
sstore(x, y) sstore(x, y)
} }
let t := sload(x) let t := sload(x)
@ -23,14 +23,13 @@
// let x := calldataload(_1) // let x := calldataload(_1)
// let y := calldataload(1) // let y := calldataload(1)
// sstore(x, y) // sstore(x, y)
// let _3 := 2 // switch calldataload(2)
// switch calldataload(_3)
// case 0 { // case 0 {
// x := _3 // x := 20
// sstore(_3, y) // sstore(x, y)
// } // }
// default { // default {
// x := 3 // x := 30
// sstore(x, y) // sstore(x, y)
// } // }
// sstore(_1, sload(x)) // sstore(_1, sload(x))