The ultimate destination of this PR is https://github.com/ykjit/yk/commit/791c89d2ddde53218bf2a0e352895a91a9d3c9e7, which optimises away guards in JIT IR if they reference a constant. Before doing that, over several commits, we introduce more careful well-formedness checks that ensure guards are of the right shape.
The ultimate destination of this PR is https://github.com/ykjit/yk/commit/791c89d2ddde53218bf2a0e352895a91a9d3c9e7, which optimises away guards in JIT IR if they reference a constant. Before doing that, over several commits, we introduce more careful well-formedness checks that ensure guards are of the right shape.