Skip to content

Conversation

@kripken
Copy link
Member

@kripken kripken commented Jan 22, 2019

@kripken
Copy link
Member Author

kripken commented Feb 8, 2019

This is definitely useful for #7679, and passes the emscripten test suite for me locally. Looks like no concerns, landing.

@kripken kripken merged commit 9628a03 into master Feb 8, 2019
@kripken kripken deleted the legalize-invokes branch February 8, 2019 19:43
sbc100 added a commit that referenced this pull request Mar 22, 2024
This change removes the "minimal" mode from `LegalizeJSInterface`
which was added in #1883.

The idea behind this change was to avoid legalizing most function except
those we know that JS will be calling.  The idea was that for dynamic
linking we always want the non-legalized version to be shared between
wasm module.  These days we solve this problem in a different way with
the `legalize-js-interface-export-originals` which exports the original
functions alongside the legalized ones.  Emscripten then always
prefers the `$orig` functions when doing dynamic linking.
sbc100 added a commit that referenced this pull request Mar 22, 2024
This change removes the "minimal" mode from `LegalizeJSInterface`
which was added in #1883.

The idea behind this change was to avoid legalizing most function except
those we know that JS will be calling.  The idea was that for dynamic
linking we always want the non-legalized version to be shared between
wasm module.  These days we solve this problem in a different way with
the `legalize-js-interface-export-originals` which exports the original
functions alongside the legalized ones.  Emscripten then always
prefers the `$orig` functions when doing dynamic linking.
sbc100 added a commit that referenced this pull request Mar 23, 2024
This change removes the "minimal" mode from `LegalizeJSInterface`
which was added in #1883.

The idea behind this change was to avoid legalizing most function except
those we know that JS will be calling.  The idea was that for dynamic
linking we always want the non-legalized version to be shared between
wasm module.  These days we solve this problem in a different way with
the `legalize-js-interface-export-originals` which exports the original
functions alongside the legalized ones.  Emscripten then always
prefers the `$orig` functions when doing dynamic linking.
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