summaryrefslogtreecommitdiff
path: root/test/hello_world.2asm.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2015-12-06 16:15:27 -0800
committerAlon Zakai <alonzakai@gmail.com>2015-12-06 16:15:27 -0800
commit7efb88f9806799357f026dd15ffe28e898bf283d (patch)
tree8da4e83663eb6202226131e033cf69dbe3d88079 /test/hello_world.2asm.js
parent72bca2037dd1699132e34c17d4b55ba29bafacf6 (diff)
downloadbinaryen-7efb88f9806799357f026dd15ffe28e898bf283d.tar.gz
binaryen-7efb88f9806799357f026dd15ffe28e898bf283d.tar.bz2
binaryen-7efb88f9806799357f026dd15ffe28e898bf283d.zip
emit 'use asm' in wasm2asm
Diffstat (limited to 'test/hello_world.2asm.js')
-rw-r--r--test/hello_world.2asm.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/hello_world.2asm.js b/test/hello_world.2asm.js
index d3996fb49..2c67f05ff 100644
--- a/test/hello_world.2asm.js
+++ b/test/hello_world.2asm.js
@@ -1,4 +1,5 @@
function asmFunc() {
+ "use asm";
function add(x, y) {
x = x | 0;
y = y | 0;