From c81857a3a7708738b20bb28a320fc971e74626a7 Mon Sep 17 00:00:00 2001 From: Daniel Wirtz Date: Thu, 1 Feb 2018 22:42:55 +0100 Subject: Fix hard-wired buffer limit in the JS API (#1394) --- test/binaryen.js/sourcemap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/binaryen.js') 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; -- cgit v1.2.3