Stream: git-wasmtime

Topic: wasmtime / PR #1817 Avoid touching encodings in `EncCurso...


view this post on Zulip Wasmtime GitHub notifications bot (Jun 04 2020 at 00:03):

cfallin opened PR #1817 from issue-1809 to master:

EncCursor is a variant of Cursor that allows updating CLIF while
keeping its encodings up to date, given a particular ISA. However, new
(MachInst) backends don't use the encodings, and the TargetIsaAdapter
shim will panic if any encoding-related method is called. This PR avoids
those panics.

Fixes #1809.

<!--

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 (Jun 04 2020 at 00:03):

cfallin requested bnjbvr for a review on PR #1817.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 04 2020 at 08:33):

bnjbvr submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 04 2020 at 08:33):

bnjbvr submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 04 2020 at 08:33):

bnjbvr created PR Review Comment:

nit: we can drop the negation and use is_none here

view this post on Zulip Wasmtime GitHub notifications bot (Jun 04 2020 at 17:53):

cfallin updated PR #1817 from issue-1809 to master:

EncCursor is a variant of Cursor that allows updating CLIF while
keeping its encodings up to date, given a particular ISA. However, new
(MachInst) backends don't use the encodings, and the TargetIsaAdapter
shim will panic if any encoding-related method is called. This PR avoids
those panics.

Fixes #1809.

<!--

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 (Jun 04 2020 at 19:50):

cfallin merged PR #1817.


Last updated: Nov 22 2024 at 16:03 UTC