mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
14 lines
318 B
Plaintext
14 lines
318 B
Plaintext
|
{
|
||
|
// Constants cost depending on their magnitude.
|
||
|
// Do not rematerialize large constants,
|
||
|
// unless they are used exactly once.
|
||
|
let a := 0xffffffffffffffffffffff
|
||
|
mstore(0, a)
|
||
|
}
|
||
|
// ----
|
||
|
// rematerialiser
|
||
|
// {
|
||
|
// let a := 0xffffffffffffffffffffff
|
||
|
// mstore(0, 0xffffffffffffffffffffff)
|
||
|
// }
|