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
@@ -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