summaryrefslogtreecommitdiff
path: root/test/wasm2js/func_ptrs.2asm.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2019-04-23 17:13:47 -0700
committerGitHub <noreply@github.com>2019-04-23 17:13:47 -0700
commit5d3fcffdd9f9d9de10a0ce60d1e0163693c007c3 (patch)
treeeccb11418795a0f508da2e785340e34bb82a1fc6 /test/wasm2js/func_ptrs.2asm.js
parent7c5a789c6ccf09bfaec9c449aa606d8a6276b855 (diff)
downloadbinaryen-5d3fcffdd9f9d9de10a0ce60d1e0163693c007c3.tar.gz
binaryen-5d3fcffdd9f9d9de10a0ce60d1e0163693c007c3.tar.bz2
binaryen-5d3fcffdd9f9d9de10a0ce60d1e0163693c007c3.zip
wasm2js: emit quoted properties for the exports, to support closure compiler (#2043)
Diffstat (limited to 'test/wasm2js/func_ptrs.2asm.js')
-rw-r--r--test/wasm2js/func_ptrs.2asm.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/wasm2js/func_ptrs.2asm.js b/test/wasm2js/func_ptrs.2asm.js
index 245b1d95b..53bdf6c88 100644
--- a/test/wasm2js/func_ptrs.2asm.js
+++ b/test/wasm2js/func_ptrs.2asm.js
@@ -44,10 +44,10 @@ function asmFunc(global, env, buffer) {
var FUNCTION_TABLE = [];
return {
- one: $3,
- two: $4,
- three: $5,
- four: $6
+ "one": $3,
+ "two": $4,
+ "three": $5,
+ "four": $6
};
}
@@ -114,8 +114,8 @@ function asmFunc(global, env, buffer) {
var FUNCTION_TABLE = [t1, t2, t3, u1, u2, t1, t3];
return {
- callt: $5,
- callu: $6
+ "callt": $5,
+ "callu": $6
};
}
@@ -162,7 +162,7 @@ function asmFunc(global, env, buffer) {
var FUNCTION_TABLE = [t1, t2];
return {
- callt: $2
+ "callt": $2
};
}