mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
24 lines
414 B
Plaintext
24 lines
414 B
Plaintext
{
|
|
let x
|
|
for {} x { sstore(1, x) } {
|
|
if x { continue }
|
|
// x is 0 here, but should not be 0
|
|
// anymore in the for loop post block
|
|
sstore(0, x)
|
|
}
|
|
sstore(0, x)
|
|
}
|
|
// ----
|
|
// step: conditionalSimplifier
|
|
//
|
|
// {
|
|
// let x
|
|
// for { } x { sstore(1, x) }
|
|
// {
|
|
// if x { continue }
|
|
// x := 0
|
|
// sstore(0, x)
|
|
// }
|
|
// sstore(0, x)
|
|
// }
|