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 /src | |
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 'src')
-rw-r--r-- | src/wabt.post.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/wabt.post.js b/src/wabt.post.js index 142e1c1a..c71e9d03 100644 --- a/src/wabt.post.js +++ b/src/wabt.post.js @@ -279,11 +279,7 @@ WasmModule.prototype.validate = function(options) { }; WasmModule.prototype.resolveNames = function() { - var result = - Module._wabt_resolve_names_module(this.module_addr, this.errors.addr); - if (result !== WABT_OK) { - throw new Error('resolveNames failed:\n' + this.errors.format()); - } + // No-op, this is now part of text parsing. }; WasmModule.prototype.generateNames = function() { |