diff options
author | Sam Clegg <sbc@chromium.org> | 2020-11-11 15:50:33 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-11 15:50:33 -0800 |
commit | f0d6b089960e089bcc5c1794003585ebbd91d33a (patch) | |
tree | 25e44d01fb2343f3152abeceed593986d1a0998b /src/shared-constants.h | |
parent | d0d96a815fb2e6c397dce76fb1b74b803fd431f4 (diff) | |
download | binaryen-f0d6b089960e089bcc5c1794003585ebbd91d33a.tar.gz binaryen-f0d6b089960e089bcc5c1794003585ebbd91d33a.tar.bz2 binaryen-f0d6b089960e089bcc5c1794003585ebbd91d33a.zip |
wasm2js: Declare data segments before calling asmFunc (#3337)
This is because we maybe need to reference the segments
during the start function. For example in the case of
pthreads we conditionally load passive segments during
start.
Tested in emscripten with: tests/runner.py wasm2js1
Diffstat (limited to 'src/shared-constants.h')
0 files changed, 0 insertions, 0 deletions