Merge pull request #6157 from ethereum/allocate-memory

Add allocateMemory helper with value known at compile time
This commit is contained in:
chriseth
2019-03-04 18:35:04 +01:00
committed by GitHub
5 changed files with 20 additions and 15 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
======= gas_test_abiv2/input.sol:C =======
Gas estimation:
construction:
1147 + 1103200 = 1104347
1147 + 1103000 = 1104147
external:
a(): 530
b(uint256): 1124
@@ -2,7 +2,7 @@
======= gas_test_abiv2_optimize_yul/input.sol:C =======
Gas estimation:
construction:
651 + 617600 = 618251
651 + 617400 = 618051
external:
a(): 429
b(uint256): 887