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

Fix generateDyncall when there is more than one 64 bit argument #17798

Merged

Conversation

hoodmane
Copy link
Contributor

@hoodmane hoodmane commented Sep 4, 2022

replace("j", "ii") only replaces the first "j". For some reason node has no replaceAll so I used split + map. So the original code broke when there is more than one 64 bit argument.

src/library_makeDynCall.js Outdated Show resolved Hide resolved
Co-authored-by: Alon Zakai <alonzakai@gmail.com>
src/library_makeDynCall.js Outdated Show resolved Hide resolved
@kripken
Copy link
Member

kripken commented Sep 20, 2022

Current CI errors look like they require merging in latest main (I assume to get a newer clang to compile recent libc++, which is failing).

@kripken kripken merged commit 0c564ef into emscripten-core:main Oct 17, 2022
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.

3 participants