aboutsummaryrefslogtreecommitdiff
path: root/tools/test-js-optimizer-asm-pre-output-f32.js
blob: f0f2d0daea3e24d6213e4094623116bfd404711c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
function badf() {
 var $9 = 0;
 $9 = $8 | 0;
 HEAP32[$gep23_asptr >> 2] = $9;
}
function badf2() {
 var $9 = f0;
 $9 = Math_fround($8);
 HEAPF32[$gep23_asptr >> 2] = $9;
}
function dupe() {
 x = Math_fround(x);
 x = Math_fround(x);
 x = Math_fround(x);
 x = Math_fround(x);
}
function zeros(x) {
 x = Math_fround(x);
 var y = f0;
 print(Math_fround(y) + f0);
 return Math_fround(0);
}