Skip to content

[WASM] Fix KeyPath optimization bug around signature match #1709

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

Conversation

kateinoigakukun
Copy link
Member

@kateinoigakukun kateinoigakukun commented Sep 7, 2020

For wasm, KeyPath getter always take indices parameter to match callee and caller signature. So need to pass stub pointer.

Ideally, we should mark these optional arguments with special attribute and lower them correctly.

Resolve #1679

For wasm, KeyPath getter always take indices parameter to match callee
and caller signature. So need to pass stub pointer.
Copy link

@MaxDesiatov MaxDesiatov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@MaxDesiatov
Copy link

The buld failed due to swiftwasm/swift-corelibs-foundation#109, CoreFoundation headers should not be installed into the swift_static. I've fixed that in our Foundation fork, restarting CI builds here

@kateinoigakukun kateinoigakukun merged commit 335c349 into swiftwasm:swiftwasm-release/5.3 Sep 8, 2020
@kateinoigakukun kateinoigakukun deleted the katei/fix-keypath-opt branch September 8, 2020 01:15
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