mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Rematerialize zero literals with default cleanup sequence
Add unused pruner step to the end of the default cleanup sequence
This commit is contained in:
@@ -18,7 +18,7 @@ contract c {
|
||||
}
|
||||
// ----
|
||||
// test() -> 38, 28, 18
|
||||
// gas irOptimized: 148543
|
||||
// gas irOptimized: 148538
|
||||
// gas legacy: 151184
|
||||
// gas legacyOptimized: 142418
|
||||
// storageEmpty -> 1
|
||||
|
||||
@@ -18,7 +18,7 @@ contract c {
|
||||
}
|
||||
// ----
|
||||
// test() -> 20, 10
|
||||
// gas irOptimized: 126072
|
||||
// gas irOptimized: 126068
|
||||
// gas legacy: 127216
|
||||
// gas legacyOptimized: 122224
|
||||
// storageEmpty -> 1
|
||||
|
||||
@@ -9,6 +9,6 @@ contract c {
|
||||
}
|
||||
// ----
|
||||
// test() -> 0x20, 33, 0x303030303030303030303030303030303030303030303030303030303030303, 0x0300000000000000000000000000000000000000000000000000000000000000
|
||||
// gas irOptimized: 107976
|
||||
// gas irOptimized: 107962
|
||||
// gas legacy: 125420
|
||||
// gas legacyOptimized: 122472
|
||||
|
||||
Reference in New Issue
Block a user