Stream: git-wasmtime

Topic: wasmtime / PR #5171 cranelift-isle: trie construction and...


view this post on Zulip Wasmtime GitHub notifications bot (Nov 01 2022 at 21:48):

jameysharp opened PR #5171 from isle-cleanups to main:

One big change here is to stop using Term::extractor_sig, which was the only call that used a TypeEnv. However that function only uses type information to construct the fully-qualified name of the extractor, which is not used when building the IR. So removing it and removing the now-unused typeenv parameters removes all uses of TypeEnv from the ir and trie modules.

In addition, this completes the changes started in "More consistent use of add_inst" (e63771f2d921cdce440620dbf38bd3e186747b1e), by always using add_inst to get an InstId.

I also removed a number of unnecessary intermediate allocations.

<!--

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 (Nov 01 2022 at 21:48):

jameysharp requested fitzgen for a review on PR #5171.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 01 2022 at 23:40):

fitzgen submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 02 2022 at 00:17):

jameysharp merged PR #5171.


Last updated: Nov 22 2024 at 16:03 UTC