mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Replaced tabs with spaces
This commit is contained in:
parent
d6f05a6d36
commit
51fe1bd9c2
@ -267,7 +267,7 @@ idea is that assembly libraries will be used to enhance the language in such way
|
|||||||
// by using o_code = new bytes(size)
|
// by using o_code = new bytes(size)
|
||||||
o_code := mload(0x40)
|
o_code := mload(0x40)
|
||||||
// new "memory end" including padding
|
// new "memory end" including padding
|
||||||
mstore(0x40, add(o_code, and(add(add(size, 0x20), 0x1f), not(0x1f))))
|
mstore(0x40, add(o_code, and(add(add(size, 0x20), 0x1f), bnot(0x1f))))
|
||||||
// store length in memory
|
// store length in memory
|
||||||
mstore(o_code, size)
|
mstore(o_code, size)
|
||||||
// actually retrieve the code, this needs assembly
|
// actually retrieve the code, this needs assembly
|
||||||
|
Loading…
Reference in New Issue
Block a user