forked from bytecodealliance/wasmtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cranelift-isle: trie construction and IR cleanups (bytecodealliance#5171
) 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`" (e63771f), by always using `add_inst` to get an `InstId`. I also removed a number of unnecessary intermediate allocations.
- Loading branch information
1 parent
09d8df6
commit 033758d
Showing
3 changed files
with
72 additions
and
168 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.