Stream: git-wasmtime

Topic: wasmtime / PR #4628 Backport: AArch64: don't assert inst ...


view this post on Zulip Wasmtime GitHub notifications bot (Aug 06 2022 at 00:29):

cfallin opened PR #4628 from pr-4627-backport-0.40.0 to release-0.40.0:

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 #4626.

<!--

Please ensure that the following steps are all taken care of before submitting
the PR.

Please ensure all communication adheres to the code of conduct.
-->

view this post on Zulip Wasmtime GitHub notifications bot (Aug 06 2022 at 00:29):

cfallin requested alexcrichton for a review on PR #4628.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 06 2022 at 00:33):

alexcrichton submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 06 2022 at 03:23):

cfallin merged PR #4628.


Last updated: Dec 23 2024 at 12:05 UTC