diff options
author | Alon Zakai <alonzakai@gmail.com> | 2019-04-23 17:13:47 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-23 17:13:47 -0700 |
commit | 5d3fcffdd9f9d9de10a0ce60d1e0163693c007c3 (patch) | |
tree | eccb11418795a0f508da2e785340e34bb82a1fc6 /test/wasm2js/f64.2asm.js | |
parent | 7c5a789c6ccf09bfaec9c449aa606d8a6276b855 (diff) | |
download | binaryen-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/f64.2asm.js')
-rw-r--r-- | test/wasm2js/f64.2asm.js | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/test/wasm2js/f64.2asm.js b/test/wasm2js/f64.2asm.js index 9be75fec1..481adb53e 100644 --- a/test/wasm2js/f64.2asm.js +++ b/test/wasm2js/f64.2asm.js @@ -170,20 +170,20 @@ function asmFunc(global, env, buffer) { var FUNCTION_TABLE = []; return { - add: $0, - sub: $1, - mul: $2, - div: $3, - sqrt: $4, - min: $5, - max: $6, - ceil: $7, - floor: $8, - trunc: $9, - nearest: $10, - abs: $11, - neg: $12, - copysign: $13 + "add": $0, + "sub": $1, + "mul": $2, + "div": $3, + "sqrt": $4, + "min": $5, + "max": $6, + "ceil": $7, + "floor": $8, + "trunc": $9, + "nearest": $10, + "abs": $11, + "neg": $12, + "copysign": $13 }; } |