mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update tests.
This commit is contained in:
@@ -40,7 +40,7 @@ object "Arraysum_34" {
|
||||
mstore(_1, _1)
|
||||
vloc_sum := checked_add_t_uint256(vloc_sum, sload(add(keccak256(_1, 0x20), vloc_i)))
|
||||
}
|
||||
let memPos := allocateMemory(_1)
|
||||
let memPos := allocate_memory(_1)
|
||||
return(memPos, sub(abi_encode_uint(memPos, vloc_sum), memPos))
|
||||
}
|
||||
}
|
||||
@@ -51,7 +51,7 @@ object "Arraysum_34" {
|
||||
tail := add(headStart, 32)
|
||||
mstore(headStart, value0)
|
||||
}
|
||||
function allocateMemory(size) -> memPtr
|
||||
function allocate_memory(size) -> memPtr
|
||||
{
|
||||
memPtr := mload(64)
|
||||
let newFreePtr := add(memPtr, and(add(size, 31), not(31)))
|
||||
|
||||
Reference in New Issue
Block a user