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:
@@ -16,6 +16,6 @@ contract c {
|
||||
// getLength() -> 0
|
||||
// set(): 1, 2 -> true
|
||||
// gas irOptimized: 110439
|
||||
// gas legacy: 110726
|
||||
// gas legacyOptimized: 110567
|
||||
// gas legacy: 110723
|
||||
// gas legacyOptimized: 110564
|
||||
// getLength() -> 68
|
||||
|
||||
Reference in New Issue
Block a user