summaryrefslogtreecommitdiff
path: root/test/wasm2js/i32.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/i32.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/i32.2asm.js')
-rw-r--r--test/wasm2js/i32.2asm.js58
1 files changed, 29 insertions, 29 deletions
diff --git a/test/wasm2js/i32.2asm.js b/test/wasm2js/i32.2asm.js
index 4c14518c3..9e4efe7c7 100644
--- a/test/wasm2js/i32.2asm.js
+++ b/test/wasm2js/i32.2asm.js
@@ -237,35 +237,35 @@ function asmFunc(global, env, buffer) {
var FUNCTION_TABLE = [];
return {
- add: $0,
- sub: $1,
- mul: $2,
- div_s: $3,
- div_u: $4,
- rem_s: $5,
- rem_u: $6,
- and: $7,
- or: $8,
- xor: $9,
- shl: $10,
- shr_s: $11,
- shr_u: $12,
- rotl: $13,
- rotr: $14,
- clz: $15,
- ctz: $16,
- popcnt: $17,
- eqz: $18,
- eq: $19,
- ne: $20,
- lt_s: $21,
- lt_u: $22,
- le_s: $23,
- le_u: $24,
- gt_s: $25,
- gt_u: $26,
- ge_s: $27,
- ge_u: $28
+ "add": $0,
+ "sub": $1,
+ "mul": $2,
+ "div_s": $3,
+ "div_u": $4,
+ "rem_s": $5,
+ "rem_u": $6,
+ "and": $7,
+ "or": $8,
+ "xor": $9,
+ "shl": $10,
+ "shr_s": $11,
+ "shr_u": $12,
+ "rotl": $13,
+ "rotr": $14,
+ "clz": $15,
+ "ctz": $16,
+ "popcnt": $17,
+ "eqz": $18,
+ "eq": $19,
+ "ne": $20,
+ "lt_s": $21,
+ "lt_u": $22,
+ "le_s": $23,
+ "le_u": $24,
+ "gt_s": $25,
+ "gt_u": $26,
+ "ge_s": $27,
+ "ge_u": $28
};
}