summaryrefslogtreecommitdiff
path: root/test/binaryen.js/sourcemap.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/binaryen.js/sourcemap.js')
-rw-r--r--test/binaryen.js/sourcemap.js2
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;