summaryrefslogtreecommitdiff
path: root/test/binaryen.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/binaryen.js')
-rw-r--r--test/binaryen.js/test.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/binaryen.js/test.js b/test/binaryen.js/test.js
index 858454d3d..fa87697c5 100644
--- a/test/binaryen.js/test.js
+++ b/test/binaryen.js/test.js
@@ -24,10 +24,10 @@ parser.get_root().dump();
var s_module = parser.get_root().getChild(0);
console.log('================');
-var builder = new Binaryen.SExpressionWasmBuilder(module, s_module, true);
+var builder = new Binaryen.SExpressionWasmBuilder(module, s_module);
console.log('module:');
-WasmPrinter.prototype.printModule(module);
+Binaryen.WasmPrinter.prototype.printModule(module);
console.log('================');
var interface_ = new Binaryen.ShellExternalInterface();