diff options
author | Alon Zakai <azakai@google.com> | 2019-07-31 17:41:06 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-31 17:41:06 -0700 |
commit | cbcca4cf42690514c04fce958675dcc05c1e86e3 (patch) | |
tree | d556bc2352f671eb54d6ec46c37d6a2f7392ac3c /test/wasm2js/comments.2asm.js | |
parent | 692f4666fd116fb7827b53348978f29bba253d47 (diff) | |
download | binaryen-cbcca4cf42690514c04fce958675dcc05c1e86e3.tar.gz binaryen-cbcca4cf42690514c04fce958675dcc05c1e86e3.tar.bz2 binaryen-cbcca4cf42690514c04fce958675dcc05c1e86e3.zip |
Python3-ify check.py and auto_update_tests.py (#2270)
I fixed flatten.bin.txt which seems to have just had some corrupted data, and I removed some fancy unicode from the spec comments tests, which I'm not sure it's important enough to figure out how to fix.
Fixes #1691
Diffstat (limited to 'test/wasm2js/comments.2asm.js')
-rw-r--r-- | test/wasm2js/comments.2asm.js | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/test/wasm2js/comments.2asm.js b/test/wasm2js/comments.2asm.js index 81100c40c..e31607d1d 100644 --- a/test/wasm2js/comments.2asm.js +++ b/test/wasm2js/comments.2asm.js @@ -28,33 +28,3 @@ function asmFunc(global, env, buffer) { var memasmFunc = new ArrayBuffer(65536); var retasmFunc = asmFunc({Math,Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,NaN,Infinity}, {abort:function() { throw new Error('abort'); }},memasmFunc); - -function asmFunc(global, env, buffer) { - var HEAP8 = new global.Int8Array(buffer); - var HEAP16 = new global.Int16Array(buffer); - var HEAP32 = new global.Int32Array(buffer); - var HEAPU8 = new global.Uint8Array(buffer); - var HEAPU16 = new global.Uint16Array(buffer); - var HEAPU32 = new global.Uint32Array(buffer); - var HEAPF32 = new global.Float32Array(buffer); - var HEAPF64 = new global.Float64Array(buffer); - var Math_imul = global.Math.imul; - var Math_fround = global.Math.fround; - var Math_abs = global.Math.abs; - var Math_clz32 = global.Math.clz32; - var Math_min = global.Math.min; - var Math_max = global.Math.max; - var Math_floor = global.Math.floor; - var Math_ceil = global.Math.ceil; - var Math_sqrt = global.Math.sqrt; - var abort = env.abort; - var nan = global.NaN; - var infinity = global.Infinity; - var FUNCTION_TABLE = []; - return { - - }; -} - -var memasmFunc = new ArrayBuffer(65536); -var retasmFunc = asmFunc({Math,Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,NaN,Infinity}, {abort:function() { throw new Error('abort'); }},memasmFunc); |