diff options
author | Ben Smith <binji@chromium.org> | 2020-04-27 17:34:05 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-27 17:34:05 -0700 |
commit | 5e16bf1c7ef1d2bed53db4e5a03771d2d5a12f04 (patch) | |
tree | 83890666a4ec1fc8fb90bc760037fb4193511b12 /docs/demo/wasm2wat/index.html | |
parent | 068f604394b07160654b1e9b829472f877cacfe9 (diff) | |
download | wabt-5e16bf1c7ef1d2bed53db4e5a03771d2d5a12f04.tar.gz wabt-5e16bf1c7ef1d2bed53db4e5a03771d2d5a12f04.tar.bz2 wabt-5e16bf1c7ef1d2bed53db4e5a03771d2d5a12f04.zip |
Update JS demos (#1398)
* Recompile libwabt.js using latest emscripten
* Add features checkbox for wasm2wat (like wat2wasm)
* Remove call to `_wabt_resolve_names_module`, since that's always
done now when parsing text
Diffstat (limited to 'docs/demo/wasm2wat/index.html')
-rw-r--r-- | docs/demo/wasm2wat/index.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/demo/wasm2wat/index.html b/docs/demo/wasm2wat/index.html index 11b06372..88d56648 100644 --- a/docs/demo/wasm2wat/index.html +++ b/docs/demo/wasm2wat/index.html @@ -39,6 +39,21 @@ <p> </p> </div> + <div>Enabled features:</div> + <div> + <input type="checkbox" id="exceptions"><label for="exceptions">exceptions</label> + <input type="checkbox" id="mutable_globals" checked><label for="mutable_globals">mutable globals</label> + <input type="checkbox" id="sat_float_to_int"><label for="sat_float_to_int">saturating float to int</label> + <input type="checkbox" id="sign_extension"><label for="sign_extension">sign extension</label> + </div> + <div> + <input type="checkbox" id="simd"><label for="simd">simd</label> + <input type="checkbox" id="threads"><label for="threads">threads</label> + <input type="checkbox" id="multi_value"><label for="multi_value">multi value</label> + <input type="checkbox" id="tail_call"><label for="tail_call">tail call</label> + <input type="checkbox" id="bulk_memory"><label for="bulk_memory">bulk memory</label> + <input type="checkbox" id="reference_types"><label for="reference_types">reference types</label> + </div> </header> <main> <div class="toolbar"> |