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:
@@ -18,8 +18,8 @@ contract C {
|
||||
// ----
|
||||
// constructor() ->
|
||||
// gas irOptimized: 199723
|
||||
// gas legacy: 241124
|
||||
// gas legacyOptimized: 155549
|
||||
// gas legacy: 240889
|
||||
// gas legacyOptimized: 155314
|
||||
// initCode() -> 0x20, 0
|
||||
// f() -> true
|
||||
// g() -> 0
|
||||
|
||||
Reference in New Issue
Block a user