Optimize eq iszero jumpi to xor jumpi and remove double jump.

This commit is contained in:
chriseth
2022-03-10 14:41:41 +01:00
parent 2b201f21a1
commit b3fe042884
101 changed files with 312 additions and 253 deletions
@@ -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