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

Add Crystal::Macros::TypeNode#has_inner_pointers? #14847

Conversation

HertzDevil
Copy link
Contributor

This allows Pointer.malloc and Reference#allocate to be implemented without compiler primitives eventually, see #13589 and #13481. This might be helpful to diagnostic tools related to the GC too.

Note that like TypeNode#instance_vars, this wouldn't work correctly if called in the top-level phase.

HertzDevil and others added 2 commits August 5, 2024 19:12
@straight-shoota straight-shoota added this to the 1.14.0 milestone Aug 5, 2024
@straight-shoota straight-shoota merged commit 74f0093 into crystal-lang:master Aug 8, 2024
62 checks passed
@HertzDevil HertzDevil deleted the feature/typenode-has_inner_pointers branch August 13, 2024 12:52
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.

2 participants