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:
@@ -22,8 +22,8 @@ contract sender {
|
||||
// ----
|
||||
// (): 7 ->
|
||||
// gas irOptimized: 110954
|
||||
// gas legacy: 111082
|
||||
// gas legacyOptimized: 111027
|
||||
// gas legacy: 111073
|
||||
// gas legacyOptimized: 111018
|
||||
// val() -> 0
|
||||
// forward(bool): true -> true
|
||||
// val() -> 0x80
|
||||
|
||||
Reference in New Issue
Block a user