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

Cairo: pass around the builtins pointer only when necessary #2849

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

lukaszcz
Copy link
Collaborator

@lukaszcz
Copy link
Collaborator Author

lukaszcz commented Jun 21, 2024

Implementing this is more time consuming than I thought, because it requires having two calling conventions: one for functions that need builtins and one for functions that do not. In closure calls, we would need to dynamically decide which one to use, or wrap functions on closure creation to use the convention with builtins.

I defer this PR to 0.6.4

@lukaszcz lukaszcz modified the milestones: 0.6.3, 0.6.4 Jun 21, 2024
@paulcadman paulcadman modified the milestones: 0.6.4, 0.6.5 Jul 2, 2024
@paulcadman paulcadman modified the milestones: 0.6.5, 0.6.6 Jul 19, 2024
@paulcadman paulcadman modified the milestones: 0.6.6, 0.6.7 Aug 15, 2024
@paulcadman paulcadman modified the milestones: 0.6.8, 0.6.9 Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cairo: determine which functions need builtins and pass the builtin pointer only to those
2 participants