diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-06-01 10:53:52 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-06-01 10:53:52 -0700 |
commit | 208959079a9c4b97a2457e8d6b11c5bc295c0754 (patch) | |
tree | 1cef0590b63010e6b5eea3fbaaae49773ccf60b4 /test/unit.asm.js | |
parent | b43d48965bcb26e2a0388c308d87963e70685186 (diff) | |
parent | 9e9e6c29f3734c1fa871d36d72fbbe30b6f3f2ae (diff) | |
download | binaryen-208959079a9c4b97a2457e8d6b11c5bc295c0754.tar.gz binaryen-208959079a9c4b97a2457e8d6b11c5bc295c0754.tar.bz2 binaryen-208959079a9c4b97a2457e8d6b11c5bc295c0754.zip |
Merge pull request #552 from WebAssembly/dup-asm2wasm-exports
asm2wasm regression fixes
Diffstat (limited to 'test/unit.asm.js')
-rw-r--r-- | test/unit.asm.js | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/test/unit.asm.js b/test/unit.asm.js index 8fb28b990..5b958a111 100644 --- a/test/unit.asm.js +++ b/test/unit.asm.js @@ -227,6 +227,13 @@ function asm(global, env, buffer) { return 0; } + function forgetMe() { + 123.456; + } + function exportMe() { + -3.14159; + } + function z() { } function w() { @@ -236,6 +243,6 @@ function asm(global, env, buffer) { var FUNCTION_TABLE_b = [ w, w, importedDoubles, w ]; var FUNCTION_TABLE_c = [ z, cneg ]; - return { big_negative: big_negative }; + return { big_negative: big_negative, pick: forgetMe, pick: exportMe }; } |