summaryrefslogtreecommitdiff
path: root/test/wasm2js/br_table_to_loop.2asm.js.opt
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2019-05-15 11:04:20 -0700
committerGitHub <noreply@github.com>2019-05-15 11:04:20 -0700
commite54b1d3bf6470dde708abca4442edaeb0d01d0b3 (patch)
treebc7885d28244d5313ccf6e713cd1b5b670d853d8 /test/wasm2js/br_table_to_loop.2asm.js.opt
parent104d52a0e8c2e76e9496de7dae5f3e28fdd9b49e (diff)
downloadbinaryen-e54b1d3bf6470dde708abca4442edaeb0d01d0b3.tar.gz
binaryen-e54b1d3bf6470dde708abca4442edaeb0d01d0b3.tar.bz2
binaryen-e54b1d3bf6470dde708abca4442edaeb0d01d0b3.zip
wasm2js: optimize away unneeded load coercions (#2107)
Diffstat (limited to 'test/wasm2js/br_table_to_loop.2asm.js.opt')
-rw-r--r--test/wasm2js/br_table_to_loop.2asm.js.opt1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/wasm2js/br_table_to_loop.2asm.js.opt b/test/wasm2js/br_table_to_loop.2asm.js.opt
index 5dba3a839..47e7dbea3 100644
--- a/test/wasm2js/br_table_to_loop.2asm.js.opt
+++ b/test/wasm2js/br_table_to_loop.2asm.js.opt
@@ -6,6 +6,7 @@ function asmFunc(global, env, 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;