diff options
Diffstat (limited to 'test/binaryen.js/hello-world.js')
-rw-r--r-- | test/binaryen.js/hello-world.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/binaryen.js/hello-world.js b/test/binaryen.js/hello-world.js index c08e67342..1cc5b89b7 100644 --- a/test/binaryen.js/hello-world.js +++ b/test/binaryen.js/hello-world.js @@ -22,7 +22,7 @@ module.addFunction('adder', iii, [], ret); // Export the function, so we can call it later (for simplicity we // export it as the same name as it has internally) -module.addExport('adder', 'adder'); +module.addFunctionExport('adder', 'adder'); // Print out the text console.log(module.emitText()); |