mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Optimize eq iszero jumpi to xor jumpi and remove double jump.
This commit is contained in:
@@ -21,6 +21,6 @@ contract c {
|
||||
// ----
|
||||
// test() -> 38, 28, 18
|
||||
// gas irOptimized: 188649
|
||||
// gas legacy: 189780
|
||||
// gas legacyOptimized: 178870
|
||||
// gas legacy: 189492
|
||||
// gas legacyOptimized: 178294
|
||||
// storageEmpty -> 1
|
||||
|
||||
Reference in New Issue
Block a user