Skip to content

feat: add lowering for hir::ConstantPointer#1075

Merged
mooori merged 1 commit intonextfrom
mooori/lower-const-pointer
Apr 10, 2026
Merged

feat: add lowering for hir::ConstantPointer#1075
mooori merged 1 commit intonextfrom
mooori/lower-const-pointer

Conversation

@mooori
Copy link
Copy Markdown
Contributor

@mooori mooori commented Apr 10, 2026

In my implementation for #1024 there's a hir::ConstantPointer reaching masm codegen. This PR adds lowering for it.

Or is there no lowering on purpose and the issue is that ConstantPointer shouldn't reach masm codegen?

Copy link
Copy Markdown
Collaborator

@bitwalker bitwalker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! We just weren't ever observing it prior to this, hence why it wasn't lowered yet

@mooori mooori marked this pull request as ready for review April 10, 2026 19:38
@mooori mooori merged commit 35f138e into next Apr 10, 2026
16 checks passed
@mooori mooori deleted the mooori/lower-const-pointer branch April 10, 2026 19:38
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