mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
[Sol->Yul] Adding slicing for call data arrays
This commit is contained in:
@@ -175,6 +175,11 @@ public:
|
||||
/// signature: (baseRef, index) -> offset[, length]
|
||||
std::string calldataArrayIndexAccessFunction(ArrayType const& _type);
|
||||
|
||||
/// @returns the name of a function that returns offset and length for array slice
|
||||
/// for the given array offset, length and start and end indices for slice
|
||||
/// signature: (arrayOffset, arrayLength, sliceStart, sliceEnd) -> offset, length
|
||||
std::string calldataArrayIndexRangeAccess(ArrayType const& _type);
|
||||
|
||||
/// @returns the name of a function that follows a calldata tail while performing
|
||||
/// bounds checks.
|
||||
/// signature: (baseRef, tailPointer) -> offset[, length]
|
||||
|
||||
Reference in New Issue
Block a user