Fix Yul IR push

This commit is contained in:
Daniel Kirchner
2019-11-28 18:11:38 +01:00
parent f7fc42d8c3
commit 7d1b0c6023
5 changed files with 106 additions and 13 deletions
+5 -1
View File
@@ -126,9 +126,13 @@ public:
std::string storageArrayPopFunction(ArrayType const& _type);
/// @returns the name of a function that pushes an element to a storage array
/// signature: (array, value) -> newlength
/// signature: (array, value)
std::string storageArrayPushFunction(ArrayType const& _type);
/// @returns the name of a function that pushes the base type's zero element to a storage array
/// signature: (array) -> slot, offset
std::string storageArrayPushZeroFunction(ArrayType const& _type);
/// @returns the name of a function that will clear the storage area given
/// by the start and end (exclusive) parameters (slots).
/// signature: (start, end)