Skip to content

Conversation

@sbc100
Copy link
Member

@sbc100 sbc100 commented Sep 30, 2020

This will allow for the completely removal of
__growWasmMemory as a followup. We currently
unconditionally generate this function in
generateMemoryGrowthFunction.

See #3180

This will allow for the completely removal of
__growWasmMemory as a followup.  We currently
unconditionaly generate this function
in generateMemoryGrowthFunction.

See #31803180
@sbc100 sbc100 requested a review from kripken September 30, 2020 23:25
@sbc100 sbc100 changed the title wasm2js: overide incoming memory's grow method wasm2js: override incoming memory's grow method Sep 30, 2020
Copy link
Member

@kripken kripken left a comment

Choose a reason for hiding this comment

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

I think this is good, but you're making the JS output even more interesting, so might be worth running emscripten tests before landing, to avoid a minification surprise...

@sbc100
Copy link
Member Author

sbc100 commented Oct 1, 2020

Yeah I've been ruing wasm2js0 wasm2 and other pretty consistently.

@sbc100 sbc100 merged commit 2a935b6 into master Oct 1, 2020
@sbc100 sbc100 deleted the patch_memory_grow branch October 1, 2020 00:21
sbc100 added a commit to emscripten-core/emscripten that referenced this pull request Oct 1, 2020
This is no longer needed since wasm2js will not
inject a grow function into the memory that it
imports (if needed).

See: WebAssembly/binaryen#3185
sbc100 added a commit to emscripten-core/emscripten that referenced this pull request Oct 1, 2020
This is no longer needed since wasm2js will not
inject a grow function into the memory that it
imports (if needed).

See: WebAssembly/binaryen#3185
sbc100 added a commit to emscripten-core/emscripten that referenced this pull request Oct 1, 2020
This is no longer needed since wasm2js will not
inject a grow function into the memory that it
imports (if needed).

See: WebAssembly/binaryen#3185
sbc100 added a commit to emscripten-core/emscripten that referenced this pull request Oct 1, 2020
This is no longer needed since wasm2js will not
inject a grow function into the memory that it
imports (if needed).

See: WebAssembly/binaryen#3185
sbc100 added a commit to emscripten-core/emscripten that referenced this pull request Oct 1, 2020
This is no longer needed since wasm2js will not
inject a grow function into the memory that it
imports (if needed).

See: WebAssembly/binaryen#3185
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