mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
23 lines
455 B
Plaintext
23 lines
455 B
Plaintext
|
{
|
||
|
let x := calldataload(0)
|
||
|
let a := keccak256(0x20, x)
|
||
|
sstore(a, 2)
|
||
|
// will disable loading for now, might improve later
|
||
|
mstore(0, 1)
|
||
|
let b := keccak256(0x20, x)
|
||
|
sstore(b, 3)
|
||
|
}
|
||
|
// ----
|
||
|
// step: loadResolver
|
||
|
//
|
||
|
// {
|
||
|
// {
|
||
|
// let _1 := 0
|
||
|
// let x := calldataload(_1)
|
||
|
// let _2 := 0x20
|
||
|
// sstore(keccak256(_2, x), 2)
|
||
|
// mstore(_1, 1)
|
||
|
// sstore(keccak256(_2, x), 3)
|
||
|
// }
|
||
|
// }
|