Merge pull request #10137 from ethereum/fixedBytesOps

[Sol->Yul] Bit operations for fixed bytes types.
This commit is contained in:
chriseth
2020-10-29 18:04:07 +01:00
committed by GitHub
3 changed files with 41 additions and 35 deletions
@@ -29,6 +29,8 @@ contract Homer is ERC165, Simpson {
}
}
// ====
// compileViaYul: also
// ----
// supportsInterface(bytes4): left(0x01ffc9a0) -> false
// supportsInterface(bytes4): left(0x01ffc9a7) -> true
@@ -40,6 +40,8 @@ contract Lisa is ERC165MappingImplementation, Simpson {
}
}
// ====
// compileViaYul: also
// ----
// supportsInterface(bytes4): left(0x01ffc9a0) -> false
// supportsInterface(bytes4): left(0x01ffc9a7) -> true