[Sol->Yul] Remove index access from byte array pop function to optimize it.

This commit is contained in:
Djordje Mijovic
2021-04-21 11:01:18 +02:00
parent c3f639b355
commit 0dd59fa0a2
2 changed files with 28 additions and 5 deletions
+5
View File
@@ -552,6 +552,11 @@ private:
/// signature: (data, len) -> data
std::string shortByteArrayEncodeUsedAreaSetLengthFunction();
/// @returns the name of a function that calculates slot and offset for index
/// Doesn't perform length checks, assumes that index is in bounds
/// signature: (array, index)
std::string longByteArrayStorageIndexAccessNoCheckFunction();
langutil::EVMVersion m_evmVersion;
RevertStrings m_revertStrings;
MultiUseYulFunctionCollector& m_functionCollector;