Skip to content

Factor out runEmAsmFunction. NFC #18218

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

Merged
merged 1 commit into from
Nov 17, 2022
Merged

Factor out runEmAsmFunction. NFC #18218

merged 1 commit into from
Nov 17, 2022

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Nov 16, 2022

This is the polymorphic JS function that is used to implement all of the emscripten_asm_const* functions.

Also, rename readAsmConstArgs -> readEmAsmArgs. Using the EmAsm name rather than AsmConst name makes more sense since asm on its own is an overloaded term, and there is nothing const about these arguments.

This is the polymorphic JS function that is used to implement all of the
`emscripten_asm_const*` functions.

Also, rename readAsmConstArgs -> readEmAsmArgs.  Using the EmAsm name
rather than AsmConst name makes more sense since `asm` on its own is an
overloaded term, and there is nothing `const` about these arguments.
@sbc100 sbc100 enabled auto-merge (squash) November 17, 2022 16:45
@sbc100 sbc100 merged commit c215ec6 into main Nov 17, 2022
@sbc100 sbc100 deleted the runEmAsmFunction branch November 17, 2022 18:03
mighty1231 added a commit to mighty1231/emscripten that referenced this pull request Dec 9, 2024
This commit changes the old term `readAsmConstArgs` to the
new term `readEmAsmArgs`, due to conflict of emscripten-core#16449 and emscripten-core#18218

Background history:

1. emscripten-core#16449 proposed, introducing AudioWorklet earlier
2. emscripten-core#18218 proposed, renaming readAsmConstArgs to readEmAsmArgs
3. emscripten-core#18218 merged earlier
4. emscripten-core#16449 merged later, using the old term `readAsmConstArgs`
mighty1231 added a commit to mighty1231/emscripten that referenced this pull request Feb 13, 2025
This commit changes the old term `readAsmConstArgs` to the
new term `readEmAsmArgs`, due to conflict of emscripten-core#16449 and emscripten-core#18218

Background history:

1. emscripten-core#16449 proposed, introducing AudioWorklet earlier
2. emscripten-core#18218 proposed, renaming readAsmConstArgs to readEmAsmArgs
3. emscripten-core#18218 merged earlier
4. emscripten-core#16449 merged later, using the old term `readAsmConstArgs`
mighty1231 added a commit to mighty1231/emscripten that referenced this pull request Feb 21, 2025
It fixes emscripten_audio_worklet_post_function_sig, which was
previously not worked, and enhances test to cover all
emscripten_audio_worklet_post_function_*.

In order to fix, it changes the old term `readAsmConstArgs` to
the new term `readEmAsmArgs`, due to conflict of emscripten-core#16449 and emscripten-core#18218

Background history:

1. emscripten-core#16449 proposed, introducing AudioWorklet earlier
2. emscripten-core#18218 proposed, renaming readAsmConstArgs to readEmAsmArgs
3. emscripten-core#18218 merged earlier
4. emscripten-core#16449 merged later, using the old term `readAsmConstArgs`

enhance the test for cover all emscripten_audio_worklet_post_function_*
mighty1231 added a commit to mighty1231/emscripten that referenced this pull request Feb 21, 2025
It fixes emscripten_audio_worklet_post_function_sig, which was
previously not worked, and enhances test to cover all
emscripten_audio_worklet_post_function_*.

In order to fix, it changes the old term `readAsmConstArgs` to
the new term `readEmAsmArgs`, due to conflict of emscripten-core#16449 and emscripten-core#18218

Background history:

1. emscripten-core#16449 proposed, introducing AudioWorklet earlier
2. emscripten-core#18218 proposed, renaming readAsmConstArgs to readEmAsmArgs
3. emscripten-core#18218 merged earlier
4. emscripten-core#16449 merged later, using the old term `readAsmConstArgs`

enhance the test for cover all emscripten_audio_worklet_post_function_*
mighty1231 added a commit to mighty1231/emscripten that referenced this pull request Feb 21, 2025
It fixes emscripten_audio_worklet_post_function_sig, which was
previously not worked, and enhances test to cover all
emscripten_audio_worklet_post_function_*.

In order to fix, it changes the old term `readAsmConstArgs` to
the new term `readEmAsmArgs`, due to conflict of emscripten-core#16449 and emscripten-core#18218

Background history:

1. emscripten-core#16449 proposed, introducing AudioWorklet earlier
2. emscripten-core#18218 proposed, renaming readAsmConstArgs to readEmAsmArgs
3. emscripten-core#18218 merged earlier
4. emscripten-core#16449 merged later, using the old term `readAsmConstArgs`

enhance the test for cover all emscripten_audio_worklet_post_function_*
mighty1231 added a commit to mighty1231/emscripten that referenced this pull request Feb 25, 2025
It fixes emscripten_audio_worklet_post_function_sig, which was
previously not worked, and enhances test to cover all
emscripten_audio_worklet_post_function_*.

In order to fix, it changes the old term `readAsmConstArgs` to
the new term `readEmAsmArgs`, due to conflict of emscripten-core#16449 and emscripten-core#18218

Background history:

1. emscripten-core#16449 proposed, introducing AudioWorklet earlier
2. emscripten-core#18218 proposed, renaming readAsmConstArgs to readEmAsmArgs
3. emscripten-core#18218 merged earlier
4. emscripten-core#16449 merged later, using the old term `readAsmConstArgs`

enhance the test for cover all emscripten_audio_worklet_post_function_*
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