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

Check that builtins are implemented #2636

Merged
merged 4 commits into from Jan 30, 2023
Merged

Check that builtins are implemented #2636

merged 4 commits into from Jan 30, 2023

Conversation

dcodeIO
Copy link
Member

@dcodeIO dcodeIO commented Jan 29, 2023

Addresses #2632 (review) by only allowing @builtin decorators if there actually is such a builtin, effectively preventing that the decorator is used otherwise. Also refactors builtins into functions and variables, where the latter use two hooks now: One when compiled and one when accessed. Previously, variables were handled explicitly, whereas now these can be registered. The change also uncovered an issue with the memory.atomic.waitXY instructions that weren't correctly registering, which now is fixed.

  • I've read the contributing guidelines
  • I've added my name and email to the NOTICE file

@dcodeIO dcodeIO mentioned this pull request Jan 29, 2023
2 tasks
@dcodeIO dcodeIO merged commit e22a599 into main Jan 30, 2023
@HerrCai0907 HerrCai0907 deleted the checked-builtin branch October 17, 2023 09:00
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.

None yet

3 participants