aboutsummaryrefslogtreecommitdiff
path: root/tools/test-js-optimizer-asm-last-output.js
blob: 1dacd0cd38618a21b569ee912f1cc218cdf23038 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
function finall(x) {
  x = +x;
  var a = 5.0;
  a = +x;
  a = 17;
  a = 44.0;
  a = 44.0;
  a = 44.9;
  a = 1278.0e3;
  a = 12.0e10;
  a = -x;
  a = -17;
  a = -44;
  a = -44;
  a = -44.9;
  a = -1278e3;
  a = -12e10;
  a = +-x;
  a = -17.0;
  a = -44.0;
  a = -44.0;
  a = -44.9;
  a = -1278.0e3;
  a = -12.0e10;
  a = 9223372036854776000.0;
  a = -9223372036854776000.0;
  a = -9223372036854776000.0;
  a = -0x8000000000000000;
  a = 999999984306749400.0;
  a = -999999984306749400.0;
  a = -999999984306749400.0;
  a = -0xde0b6b000000000;
  return 12.0e10;
}
function looop() {
  do {
    do_it();
  } while (!condition());
  do {
    do_it();
  } while (a <= b);
  do {
    do_it();
  } while (x());
}