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

Make capy fully use the correct platform dependent calling convention #38

Merged
merged 26 commits into from
Jul 2, 2024

Conversation

lenawanel
Copy link
Contributor

@lenawanel lenawanel commented Jun 25, 2024

the main negative of this is that you now need to add the abi of targets if you want to support them.

I'm marking this as a draft, because there are 2 issues

  • it currently only works on linux, and the github test runner reports aren't enough for me to find the issue
  • currently some locals produce 2 stack_addr instructions in places where only one is needed, this may be caused by changes i did to the MemoryLoc struct
  • I don't know how to approach writing tests for this

@lenawanel lenawanel marked this pull request as draft June 25, 2024 22:04
@lenawanel lenawanel marked this pull request as ready for review July 2, 2024 14:54
@lenawanel
Copy link
Contributor Author

I think it's best to close #35 too and open an issue for the second problem discussed in the issue.

@NotAFlyingGoose NotAFlyingGoose merged commit b638500 into capy-language:master Jul 2, 2024
3 checks passed
This pull request was closed.
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