Skip to content

Implement GC opcodes #2618

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

zherczeg
Copy link
Contributor

Implementing garbage collection byte codes. Starting with struct.

@zherczeg zherczeg force-pushed the gc_more_instructions branch from a442179 to 3253783 Compare June 11, 2025 10:30
@zherczeg zherczeg changed the title Gc more instructions Implement GC opcodes Jun 12, 2025
@zherczeg zherczeg force-pushed the gc_more_instructions branch 7 times, most recently from d20f5b4 to ab9ab1f Compare June 17, 2025 09:53
@zherczeg
Copy link
Contributor Author

Status update: all struct/array opcodes are implemented. That is 20 opcodes. The patch is 4K lines now, and the end is still very far.

@zherczeg zherczeg force-pushed the gc_more_instructions branch 20 times, most recently from 3b48300 to 69d01b7 Compare June 23, 2025 11:44
@zherczeg
Copy link
Contributor Author

All 32 GC related opcodes are done. Tests might reveal some issues.

@zherczeg zherczeg marked this pull request as ready for review June 24, 2025 04:21
@zherczeg zherczeg force-pushed the gc_more_instructions branch 8 times, most recently from ce2ba3d to 63fccff Compare June 26, 2025 13:37
Zoltan Herczeg added 3 commits June 26, 2025 14:32
Support named references for globals, locals, tables, elems
Support named references for call_ref, ref_null
Extend Var variables with an optional type field
@zherczeg zherczeg force-pushed the gc_more_instructions branch 4 times, most recently from 1e96166 to 6f5157d Compare June 30, 2025 10:16
@zherczeg zherczeg force-pushed the gc_more_instructions branch 2 times, most recently from fdac101 to e1026c6 Compare July 9, 2025 07:43
@zherczeg zherczeg force-pushed the gc_more_instructions branch from e1026c6 to 1a8e2ac Compare July 9, 2025 10:06
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.

1 participant