Some minor improvements for binaryen.js epilogue (#2947)
Some minor improvements for binaryen.js epilogue (#2947)

Simplify stack allocation and array generation logic.
WebAssembly/binaryen,WebAssembly/binaryen,WebAssembly/binaryen,WebAssembly/binaryen,WebAssembly/binaryen