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

codegen: Store returned value if type is 'handle_is_ptr' and function… #1234

Closed
wants to merge 1 commit into from
Closed

codegen: Store returned value if type is 'handle_is_ptr' and function… #1234

wants to merge 1 commit into from

Conversation

eduardosm
Copy link
Contributor

… is not 'first_arg_ret'.

Seems to fix #1230, includes test.

Note: I only test this quickly, I don't know if it can break something else.

… is not 'first_arg_ret'.

Seems to fix #1230, includes test.
@andrewrk
Copy link
Member

Merged in ed3181f

Nice work!

@andrewrk andrewrk closed this Jul 14, 2018
@eduardosm eduardosm deleted the extern-return-small-struct branch July 14, 2018 20:36
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.

Bad code generated when an extern function returns a small struct
2 participants