Skip to content
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

Use externs in PolymorphismBoxing #485

Merged
merged 10 commits into from
Jun 5, 2024
Merged

Conversation

marzipankaiser
Copy link
Contributor

@marzipankaiser marzipankaiser commented Jun 5, 2024

With this PR, PolymorphismBoxing will search for extern pure def unboxT and extern pure def boxT to box/unbox values.
If those are not found, it will still search for a record BoxedT.

It also changes the search s.t. the definitions will also be found if they are in a namespace.

This allows us to, e.g., store ints in the tag of a %Pos in LLVM.

@marzipankaiser marzipankaiser marked this pull request as ready for review June 5, 2024 12:13
@marzipankaiser marzipankaiser marked this pull request as draft June 5, 2024 12:21
@marzipankaiser marzipankaiser marked this pull request as ready for review June 5, 2024 13:11
@marzipankaiser marzipankaiser merged commit c904df2 into master Jun 5, 2024
2 checks passed
@marzipankaiser marzipankaiser deleted the refactor/box-with-externs branch June 5, 2024 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants