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:
@@ -14,8 +14,8 @@ contract c {
|
||||
// storageEmpty -> 1
|
||||
// fill() ->
|
||||
// gas irOptimized: 465544
|
||||
// gas legacy: 471460
|
||||
// gas legacyOptimized: 467520
|
||||
// gas legacy: 471400
|
||||
// gas legacyOptimized: 467400
|
||||
// storageEmpty -> 0
|
||||
// clear() ->
|
||||
// storageEmpty -> 1
|
||||
|
||||
Reference in New Issue
Block a user