mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Yul: Implement memory struct allocation
This commit is contained in:
@@ -286,8 +286,13 @@ public:
|
||||
/// signature: (length) -> memPtr
|
||||
std::string allocateAndInitializeMemoryArrayFunction(ArrayType const& _type);
|
||||
|
||||
/// @returns the name of a function that allocates a memory struct (no
|
||||
/// initialization takes place).
|
||||
/// signature: () -> memPtr
|
||||
std::string allocateMemoryStructFunction(StructType const& _type);
|
||||
|
||||
/// @returns the name of a function that allocates and zeroes a memory struct.
|
||||
/// signature: (members) -> memPtr
|
||||
/// signature: () -> memPtr
|
||||
std::string allocateAndInitializeMemoryStructFunction(StructType const& _type);
|
||||
|
||||
/// @returns the name of the function that converts a value of type @a _from
|
||||
|
||||
Reference in New Issue
Block a user