Skip to content

Represent vtables as a top level SemIR construct #5472

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: trunk
Choose a base branch
from

Conversation

dwblaikie
Copy link
Contributor

In the interests of not creating distinct vtables for each class specific - not
every specific needs the vtable, so move it into a separate entity that can be
made specific (eventually, not in this patch) only when needed (essentially when
generating a "home" for the class, but not otherwise).

Draft because this regresses cross-file vtable support. @zygoloid recommended
looking at facet type cross-file references, but I've not quite figured out how
to crack that yet, but WIP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant