Skip to content

compiler: consistently pass layout and alignment to createAlloc - #5509

Merged
deadprogram merged 1 commit into
tinygo-org:devfrom
niaow:consistent-create-alloc
Jul 21, 2026
Merged

deadprogram merged 1 commit into
tinygo-org:devfrom
niaow:consistent-create-alloc

Conversation

@niaow

@niaow niaow commented Jul 8, 2026

Copy link
Copy Markdown
Member

This resolves the // TODO: make sure all callsites set the correct alignment. from #5420 as well as some places where we did not pass the object layout.

@niaow
niaow requested a review from aykevl July 8, 2026 18:02
Comment thread compiler/gc.go
@niaow
niaow force-pushed the consistent-create-alloc branch from bac2042 to d1efdb5 Compare July 20, 2026 19:43
@deadprogram

Copy link
Copy Markdown
Member

Thank you for the improvment @niaow now merging.

@deadprogram
deadprogram merged commit cd4e479 into tinygo-org:dev Jul 21, 2026
20 checks passed
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