mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
parent
75a74cd43f
commit
76fcd0d537
@ -1174,7 +1174,7 @@ An example Yul Object is shown below:
|
||||
datacopy(offset, dataoffset("Contract2"), size)
|
||||
// constructor parameter is a single number 0x1234
|
||||
mstore(add(offset, size), 0x1234)
|
||||
pop(create(offset, add(size, 32), 0))
|
||||
pop(create(0, offset, add(size, 32)))
|
||||
|
||||
// now return the runtime object (the currently
|
||||
// executing code is the constructor code)
|
||||
|
Loading…
Reference in New Issue
Block a user