returnSize assigned according to truth value of returnInfo.dynamicReturnSize

This commit is contained in:
nishant-sachdeva
2022-03-03 18:55:10 +05:30
parent ebefb5d980
commit beabc51c20
40 changed files with 261 additions and 116 deletions
@@ -61,10 +61,10 @@ contract C {
// compileViaYul: also
// ----
// test_bytes() ->
// gas irOptimized: 371847
// gas irOptimized: 371919
// gas legacy: 418955
// gas legacyOptimized: 326783
// test_uint256() ->
// gas irOptimized: 522929
// gas irOptimized: 523001
// gas legacy: 586784
// gas legacyOptimized: 451529
@@ -32,6 +32,6 @@ contract C is B {
// compileViaYul: also
// ----
// test() -> 77
// gas irOptimized: 119895
// gas irOptimized: 119919
// gas legacy: 155093
// gas legacyOptimized: 111550
@@ -21,6 +21,6 @@ contract C {
// f(uint256[][1]): 32, 32, 0 -> true
// f(uint256[][1]): 32, 32, 1, 42 -> true
// f(uint256[][1]): 32, 32, 8, 421, 422, 423, 424, 425, 426, 427, 428 -> true
// gas irOptimized: 171838
// gas irOptimized: 171842
// gas legacy: 141644
// gas legacyOptimized: 121532