Merge pull request #9738 from ethereum/arrayCopyingSol2Yul

[Sol->Yul] Implementing copying of arrays to storage
This commit is contained in:
chriseth
2020-10-14 12:22:09 +02:00
committed by GitHub
45 changed files with 464 additions and 44 deletions
+4
View File
@@ -181,6 +181,10 @@ public:
/// signature: (slot) ->
std::string clearStorageArrayFunction(ArrayType const& _type);
/// @returns the name of a function that will copy array from calldata or memory to storage
/// signature (to_slot, from_ptr) ->
std::string copyArrayToStorage(ArrayType const& _fromType, ArrayType const& _toType);
/// Returns the name of a function that will convert a given length to the
/// size in memory (number of storage slots or calldata/memory bytes) it
/// will require.