Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AArch64: don't assert inst within worst-case size when island emitted. (
bytecodealliance#4627) We assert after emitting each instruction that its size was less than the "worst-case size", which is used to determine when we need to proactively emit an island so pending branch fixups don't go out of bounds. However, the `EmitIsland` pseudo-inst itself can cause an arbitrarily large island to be emitted; this should not have to fit within the worst-case size (because island size is explicitly accounted for by the threshold computation). This PR fixes the assert accordingly. Fixes bytecodealliance#4626.
- Loading branch information