summaryrefslogtreecommitdiff
path: root/test/emcc_O2_hello_world.2asm.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2015-12-07 14:06:46 -0800
committerAlon Zakai <alonzakai@gmail.com>2015-12-07 14:06:46 -0800
commitc44dc7b23fae93222c8a38da53e50c0b0aaa0366 (patch)
treee45447b31e4f4cb1dbea1f1936cdd70082a6f172 /test/emcc_O2_hello_world.2asm.js
parent09771ea21a3f30ade4a8abb7482fdd3b6eaaba7a (diff)
downloadbinaryen-c44dc7b23fae93222c8a38da53e50c0b0aaa0366.tar.gz
binaryen-c44dc7b23fae93222c8a38da53e50c0b0aaa0366.tar.bz2
binaryen-c44dc7b23fae93222c8a38da53e50c0b0aaa0366.zip
use Math.imul in wasm2asm
Diffstat (limited to 'test/emcc_O2_hello_world.2asm.js')
-rw-r--r--test/emcc_O2_hello_world.2asm.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/emcc_O2_hello_world.2asm.js b/test/emcc_O2_hello_world.2asm.js
index 3c153067c..98331025f 100644
--- a/test/emcc_O2_hello_world.2asm.js
+++ b/test/emcc_O2_hello_world.2asm.js
@@ -2287,7 +2287,7 @@ function asmFunc(global, env, buffer) {
i4 = i4 | 0;
var i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, wasm2asm_i32$0 = 0;
topmost : {
- i5 = i3 * i2 | 0;
+ i5 = Math_imul(i3, i2);
if ((HEAPU32[(i4 + 76 | 0) >> 2] | 0 | 0) > (4294967295 | 0)) {
i6 = (___lockfile(i4 | 0) | 0 | 0) == (0 | 0);
i7 = ___fwritex(i1 | 0, i5 | 0, i4 | 0) | 0;