Skip to content

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.

3 participants