mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
19 lines
276 B
Plaintext
19 lines
276 B
Plaintext
{
|
|
let x := mload(0)
|
|
if x { sstore(0, x) revert(0, 0) }
|
|
sstore(1, x)
|
|
}
|
|
// ====
|
|
// step: conditionalSimplifier
|
|
// ----
|
|
// {
|
|
// let x := mload(0)
|
|
// if x
|
|
// {
|
|
// sstore(0, x)
|
|
// revert(0, 0)
|
|
// }
|
|
// x := 0
|
|
// sstore(1, x)
|
|
// }
|