mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
27 lines
443 B
Plaintext
27 lines
443 B
Plaintext
{
|
|
let a := mload(0)
|
|
let b := mload(1)
|
|
if mload(2) {
|
|
a := mload(b)
|
|
b := mload(a)
|
|
a := mload(b)
|
|
b := mload(a)
|
|
}
|
|
mstore(a, b)
|
|
}
|
|
// ====
|
|
// step: fullSuite
|
|
// ----
|
|
// {
|
|
// {
|
|
// let a := mload(0)
|
|
// let b := mload(1)
|
|
// if mload(2)
|
|
// {
|
|
// a := mload(mload(mload(b)))
|
|
// b := mload(a)
|
|
// }
|
|
// mstore(a, b)
|
|
// }
|
|
// }
|