diff options
author | JF Bastien <jfb@chromium.org> | 2016-02-02 05:51:04 -0800 |
---|---|---|
committer | JF Bastien <jfb@chromium.org> | 2016-02-02 05:51:04 -0800 |
commit | c0c40ceaf1c5e2c4fc966b36ec04592e6c67979f (patch) | |
tree | 43f4dde36c9db6dbf3a36cb4a178a6091cce8b8d /src/wasm-js.cpp | |
parent | 9a0faea4e061d0ce6686914543204e05cc7b93c3 (diff) | |
download | binaryen-c0c40ceaf1c5e2c4fc966b36ec04592e6c67979f.tar.gz binaryen-c0c40ceaf1c5e2c4fc966b36ec04592e6c67979f.tar.bz2 binaryen-c0c40ceaf1c5e2c4fc966b36ec04592e6c67979f.zip |
Shell: fix --entry parameter numbers
When running the shell with --entry it was assumed that the signature had zero parameters. This isn't true for main, so look at the function's parameter list and construct a zero-initialized arguments vector of the right types. This fixes a few failures, some of which were hiding other failures.
Diffstat (limited to 'src/wasm-js.cpp')
0 files changed, 0 insertions, 0 deletions