mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
25 lines
347 B
Plaintext
25 lines
347 B
Plaintext
{
|
|
let a := mload(0)
|
|
switch mload(1)
|
|
case 0 {
|
|
a := mload(1)
|
|
}
|
|
default {
|
|
a := mload(2)
|
|
}
|
|
mstore(a, 0)
|
|
}
|
|
// ----
|
|
// ssaAndBack
|
|
// {
|
|
// let a := mload(0)
|
|
// switch mload(1)
|
|
// case 0 {
|
|
// a := mload(1)
|
|
// }
|
|
// default {
|
|
// a := mload(2)
|
|
// }
|
|
// mstore(a, 0)
|
|
// }
|