summaryrefslogtreecommitdiff
path: root/test/hello_world.2asm.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2015-12-07 15:09:52 -0800
committerAlon Zakai <alonzakai@gmail.com>2015-12-07 15:09:52 -0800
commita3e8e7d7ee21808051fba70ee8990ad20beb0223 (patch)
tree85c88a5798587f4b03ca8ec1c0d9115d49c22c3f /test/hello_world.2asm.js
parent4b23bd513d926fb03e549bc1cf704a6016a91a70 (diff)
downloadbinaryen-a3e8e7d7ee21808051fba70ee8990ad20beb0223.tar.gz
binaryen-a3e8e7d7ee21808051fba70ee8990ad20beb0223.tar.bz2
binaryen-a3e8e7d7ee21808051fba70ee8990ad20beb0223.zip
emit exports in wasm2asm
Diffstat (limited to 'test/hello_world.2asm.js')
-rw-r--r--test/hello_world.2asm.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/hello_world.2asm.js b/test/hello_world.2asm.js
index 48b0538c8..f4998576b 100644
--- a/test/hello_world.2asm.js
+++ b/test/hello_world.2asm.js
@@ -15,5 +15,8 @@ function asmFunc(global, env, buffer) {
return x + y | 0 | 0;
}
+ return {
+ "add": add
+ };
}