mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix wrong cleanup when copying from calldata to memory
Co-authored-by: Kamil Śliwak <kamil.sliwak@codepoets.it>
This commit is contained in:
committed by
Daniel Kirchner
co-authored by
Kamil Śliwak
parent
5b0f4a724a
commit
22c7cd22b9
@@ -9,6 +9,6 @@ contract C {
|
||||
|
||||
// ----
|
||||
// f(bytes): 0x20, 0x80, 0x21, 0x40, 0x7, "abcdefg" -> 0x21, 0x40, 0x7, "abcdefg"
|
||||
// gas irOptimized: 135787
|
||||
// gas legacy: 137377
|
||||
// gas legacyOptimized: 136125
|
||||
// gas irOptimized: 135699
|
||||
// gas legacy: 137325
|
||||
// gas legacyOptimized: 136059
|
||||
|
||||
Reference in New Issue
Block a user