summaryrefslogtreecommitdiff
path: root/test/empty_imported_table.2asm.js
blob: 9dcdcad5433261432fc90f81a5b01644034d0527 (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
function asmFunc(global, env, buffer) {
 "use asm";
 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 import$table$0 = env.table;
 function __wasm_ctz_i32(x) {
  x = x | 0;
  var $$1 = 0, $$2 = 0, $$3 = 0, $$4 = 0, $$5 = 0, $$6 = 0, $$7 = 0, $$8 = 0, $$9 = 0, $$10 = 0;
  $$1 = x;
  $$2 = ($$1 | 0) == (0 | 0);
  if ($$2) $$9 = 32; else {
   $$3 = x;
   $$4 = x;
   $$5 = $$4 - 1 | 0;
   $$6 = $$3 ^ $$5 | 0;
   $$7 = Math_clz32($$6);
   $$8 = 31 - $$7 | 0;
   $$9 = $$8;
  }
  $$10 = $$9;
  return $$10 | 0;
 }
 
 function __wasm_popcnt_i32(x) {
  x = x | 0;
  var count = 0, $$2 = 0, $$3 = 0, $$4 = 0, $$5 = 0, $$6 = 0, $$7 = 0, $$8 = 0, $$9 = 0, $$10 = 0, $$11 = 0, $$12 = 0, $$13 = 0, $$14 = 0, $$15 = 0;
  count = 0;
  b : {
   l : do {
    $$2 = count;
    $$3 = x;
    $$4 = ($$3 | 0) == (0 | 0);
    $$5 = $$2;
    if ($$4) break b;
    $$6 = $$5;
    $$7 = x;
    $$8 = x;
    $$9 = $$8 - 1 | 0;
    $$10 = $$7 & $$9 | 0;
    x = $$10;
    $$11 = count;
    $$12 = $$11 + 1 | 0;
    count = $$12;
    continue l;
    break l;
   } while (1);
  };
  $$13 = $$5;
  $$14 = $$13;
  $$15 = $$14;
  return $$15 | 0;
 }
 
 function __wasm_rotl_i32(x, k) {
  x = x | 0;
  k = k | 0;
  var $$2 = 0, $$3 = 0, $$4 = 0, $$5 = 0, $$6 = 0, $$7 = 0, $$8 = 0, $$9 = 0, $$10 = 0, $$11 = 0, $$12 = 0, $$13 = 0, $$14 = 0, $$15 = 0, $$16 = 0, $$17 = 0, $$18 = 0, $$19 = 0, $$20 = 0;
  $$2 = k;
  $$3 = $$2 & 31 | 0;
  $$4 = 4294967295 >>> $$3 | 0;
  $$5 = x;
  $$6 = $$4 & $$5 | 0;
  $$7 = k;
  $$8 = $$7 & 31 | 0;
  $$9 = $$6 << $$8 | 0;
  $$10 = k;
  $$11 = $$10 & 31 | 0;
  $$12 = 32 - $$11 | 0;
  $$13 = 4294967295 << $$12 | 0;
  $$14 = x;
  $$15 = $$13 & $$14 | 0;
  $$16 = k;
  $$17 = $$16 & 31 | 0;
  $$18 = 32 - $$17 | 0;
  $$19 = $$15 >>> $$18 | 0;
  $$20 = $$9 | $$19 | 0;
  return $$20 | 0;
 }
 
 function __wasm_rotr_i32(x, k) {
  x = x | 0;
  k = k | 0;
  var $$2 = 0, $$3 = 0, $$4 = 0, $$5 = 0, $$6 = 0, $$7 = 0, $$8 = 0, $$9 = 0, $$10 = 0, $$11 = 0, $$12 = 0, $$13 = 0, $$14 = 0, $$15 = 0, $$16 = 0, $$17 = 0, $$18 = 0, $$19 = 0, $$20 = 0;
  $$2 = k;
  $$3 = $$2 & 31 | 0;
  $$4 = 4294967295 << $$3 | 0;
  $$5 = x;
  $$6 = $$4 & $$5 | 0;
  $$7 = k;
  $$8 = $$7 & 31 | 0;
  $$9 = $$6 >>> $$8 | 0;
  $$10 = k;
  $$11 = $$10 & 31 | 0;
  $$12 = 32 - $$11 | 0;
  $$13 = 4294967295 >>> $$12 | 0;
  $$14 = x;
  $$15 = $$13 & $$14 | 0;
  $$16 = k;
  $$17 = $$16 & 31 | 0;
  $$18 = 32 - $$17 | 0;
  $$19 = $$15 << $$18 | 0;
  $$20 = $$9 | $$19 | 0;
  return $$20 | 0;
 }
 
 return {
  
 };
}