diff options
author | Daniel Wirtz <dcode@dcode.io> | 2018-02-01 22:42:55 +0100 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2018-02-01 13:42:55 -0800 |
commit | c81857a3a7708738b20bb28a320fc971e74626a7 (patch) | |
tree | a0e933a2d21384fc84fef0d6ee9f2e44764387a4 /test/binaryen.js | |
parent | 6bc97008eca2f8776f6fe4d480f3227d2a05a7c5 (diff) | |
download | binaryen-c81857a3a7708738b20bb28a320fc971e74626a7.tar.gz binaryen-c81857a3a7708738b20bb28a320fc971e74626a7.tar.bz2 binaryen-c81857a3a7708738b20bb28a320fc971e74626a7.zip |
Fix hard-wired buffer limit in the JS API (#1394)
Diffstat (limited to 'test/binaryen.js')
-rw-r--r-- | test/binaryen.js/sourcemap.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/binaryen.js/sourcemap.js b/test/binaryen.js/sourcemap.js index b184f73ab..62584ffd3 100644 --- a/test/binaryen.js/sourcemap.js +++ b/test/binaryen.js/sourcemap.js @@ -17,7 +17,7 @@ var func = module.addFunction("main", signature, [], body); module.setDebugLocation(func, expr, fileIndex, 1, 2); module.setDebugLocation(func, body, fileIndex, 0, 3); -var output = module.emitBinaryWithSourceMap("module.wasm.map"); +var output = module.emitBinary("module.wasm.map"); function dumpBinary(buffer) { var hex = [], o, b, h; |