[Sol->Yul] Implementing bytes.concat in IR codegen.

Co-authored-by: Daniel Kirchner <daniel@ekpyron.org>
This commit is contained in:
Djordje Mijovic
2021-03-24 11:49:21 +01:00
co-authored by Daniel Kirchner
parent e7da9f3d52
commit 80866d3ee4
3 changed files with 73 additions and 1 deletions
+4
View File
@@ -292,6 +292,10 @@ public:
/// of the storage array into it.
std::string copyArrayFromStorageToMemoryFunction(ArrayType const& _from, ArrayType const& _to);
/// @returns the name of a function that does concatenation of variadic number of bytes
/// or fixed bytes
std::string bytesConcatFunction(std::vector<Type const*> const& _argumentTypes);
/// @returns the name of a function that performs index access for mappings.
/// @param _mappingType the type of the mapping
/// @param _keyType the type of the value provided