alexcrichton opened PR #4205 from env-for-lowered-imports
to main
:
This commit enhances the processing of components to track all the
dataflow for the processing ofcanon.lower
'd functions. At the same
time this fills out a few other missing details to component processing
such as aliasing from some kinds of component instances and similar.The major changes contained within this are the updates the
info
submodule which has the AST of component type information. This has been
significantly refactored to prepare for representing lowered functions
and implementing those. The major change is from anInstantiation
list
to anInitializer
list which abstractly represents a few other
initialization actions.This work is split off from my main work to implement component imports
of host functions. This is incomplete in the sense that it doesn't
actually finish everything necessary to define host functions and import
them into components. Instead this is only the changes necessary at the
translation layer (so far). Consequently this commit does not have tests
and also namely doesn't actually include theVMComponentContext
initialization and usage. The full body of work is still a bit too messy
to PR just yet so I'm hoping that this is a slimmed-down-enough piece to
adequately be reviewed.<!--
Please ensure that the following steps are all taken care of before submitting
the PR.
[ ] This has been discussed in issue #..., or if not, please tell us why
here.[ ] A short description of what this does, why it is needed; if the
description becomes long, the matter should probably be discussed in an issue
first.[ ] This PR contains test cases, if meaningful.
- [ ] A reviewer from the core maintainer team has been assigned for this PR.
If you don't know who could review this, please indicate so. The list of
suggested reviewers on the right can help you.Please ensure all communication adheres to the code of conduct.
-->
alexcrichton requested fitzgen for a review on PR #4205.
fitzgen submitted PR review.
alexcrichton merged PR #4205.
Last updated: Dec 23 2024 at 13:07 UTC