Skip to content

Conversation

@kddnewton
Copy link
Collaborator

Adding a couple of helpful macros and applying them to prism.c. This is purely an aesthetics change, the code should be functionally equivalent.

Part of this is to make things more readable, part of this is to reduce the number of places where we are calling node->base or node->location or node->flags. If we're going to change the location to use 32-bit integers, it would ease the migration process if there were fewer places that accessed it directly.

@kddnewton kddnewton merged commit 434c4c5 into main Dec 2, 2025
64 checks passed
@kddnewton kddnewton deleted the upcast branch December 2, 2025 22:14
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