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

Compiler: don't use byval in codegen #3474

Merged
merged 1 commit into from
Oct 28, 2016
Merged

Compiler: don't use byval in codegen #3474

merged 1 commit into from
Oct 28, 2016

Conversation

asterite
Copy link
Member

@asterite asterite commented Oct 26, 2016

This makes the codegen never emit byval in function parameters except in C function calls because it seems that is required by the C ABI (or put another way, I tried not to use byval and it didn't work).

@ysbaddaden You can try to apply this PR's diff on top of #3424 and then see if the new compiler can compile the Base64 spec and it passes on ARM (I didn't because I changed the pi's password in the office and back home I remembered I don't have a usb keyboard, so I'll be able to test this tomorrow)

Verified

This commit was signed with the committer’s verified signature.
headius Charles Oliver Nutter
@RX14 RX14 mentioned this pull request Oct 26, 2016
@ysbaddaden
Copy link
Contributor

@asterite it fixed the issue for me on QEMU/ARM!

@asterite asterite merged commit 6f6ddc0 into master Oct 28, 2016
@asterite
Copy link
Member Author

@ysbaddaden Great! Thanks for testing this 🙇

@ysbaddaden
Copy link
Contributor

Hey, thanks for investigating and fixing this 🙇

@asterite asterite deleted the feature/no_byval branch November 17, 2016 11:23
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

2 participants