mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
15 lines
411 B
Plaintext
15 lines
411 B
Plaintext
|
{
|
||
|
function a() {}
|
||
|
function f() { mstore(0, 1) }
|
||
|
function g() { sstore(0, 1) }
|
||
|
function h() { let x := msize() }
|
||
|
function i() { let z := mload(0) }
|
||
|
}
|
||
|
// ----
|
||
|
// : movable, sideEffectFree, sideEffectFreeIfNoMSize
|
||
|
// a: movable, sideEffectFree, sideEffectFreeIfNoMSize
|
||
|
// f: invalidatesMemory
|
||
|
// g: invalidatesStorage
|
||
|
// h: sideEffectFree, sideEffectFreeIfNoMSize
|
||
|
// i: sideEffectFreeIfNoMSize
|