summaryrefslogtreecommitdiff
path: root/src/wasm/wasm-stack.cpp
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2019-07-22 18:00:52 -0700
committerGitHub <noreply@github.com>2019-07-22 18:00:52 -0700
commitff2b10bd641039e2cf4eb00b767ac5139a41583e (patch)
tree1d5b392d8708e90ea48cccb6e0a20a424aa198f7 /src/wasm/wasm-stack.cpp
parentc8101d1b67ffcce38718f07ba560ce56ddb3f240 (diff)
downloadbinaryen-ff2b10bd641039e2cf4eb00b767ac5139a41583e.tar.gz
binaryen-ff2b10bd641039e2cf4eb00b767ac5139a41583e.tar.bz2
binaryen-ff2b10bd641039e2cf4eb00b767ac5139a41583e.zip
wasm-emscripten-finalize: Add mainReadsParams metadata (#2247)
The new flag indicates whether main reads the argc/argv parameters. If it does not, we can avoid emitting code to generate those arguments in the JS, which is not trivial in small programs - it requires some string conversion code. Nicely the existing test inputs were enough for testing this (see outputs). This depends on an emscripten change to land first, as emscripten.py asserts on metadata fields it doesn't recognize.
Diffstat (limited to 'src/wasm/wasm-stack.cpp')
0 files changed, 0 insertions, 0 deletions