]> git.proxmox.com Git - rustc.git/blame - src/binaryen/test/unit.fromasm.imprecise
New upstream version 1.25.0+dfsg1
[rustc.git] / src / binaryen / test / unit.fromasm.imprecise
CommitLineData
abe05a73
XL
1(module
2 (type $FUNCSIG$ddd (func (param f64 f64) (result f64)))
3 (type $FUNCSIG$vf (func (param f32)))
4 (type $FUNCSIG$vi (func (param i32)))
5 (type $FUNCSIG$v (func))
6 (type $FUNCSIG$idi (func (param f64 i32) (result i32)))
7 (type $FUNCSIG$ii (func (param i32) (result i32)))
8 (type $FUNCSIG$dd (func (param f64) (result f64)))
9 (type $FUNCSIG$i (func (result i32)))
10 (import "env" "gb" (global $n$asm2wasm$import i32))
11 (import "env" "setTempRet0" (func $setTempRet0 (param i32) (result i32)))
12 (import "env" "abort" (func $abort (param f64) (result f64)))
13 (import "env" "print" (func $print (param i32)))
14 (import "env" "h" (func $h (param i32)))
15 (import "env" "return_int" (func $return_int (result i32)))
16 (import "env" "emscripten_log" (func $emscripten_log))
17 (import "asm2wasm" "f64-rem" (func $f64-rem (param f64 f64) (result f64)))
18 (import "env" "memory" (memory $0 256 256))
19 (import "env" "table" (table 25 25 anyfunc))
20 (import "env" "memoryBase" (global $memoryBase i32))
21 (import "env" "tableBase" (global $tableBase i32))
22 (global $Int (mut i32) (i32.const 0))
23 (global $Double (mut f64) (f64.const 0))
24 (global $n (mut i32) (get_global $n$asm2wasm$import))
25 (global $exportedNumber i32 (i32.const 42))
26 (elem (get_global $tableBase) $big_negative $big_negative $big_negative $big_negative $w $w $importedDoubles $w $fr $cneg $fr $fr $fr $fr $fr $fr $vi $vi $vi $vi $vi $vi $vi $vi $ii)
27 (export "big_negative" (func $big_negative))
28 (export "pick" (func $big_negative))
29 (export "doubleCompares" (func $doubleCompares))
30 (export "intOps" (func $intOps))
31 (export "conversions" (func $legalstub$conversions))
32 (export "switcher" (func $switcher))
33 (export "frem" (func $frem))
34 (export "frem_float" (func $legalstub$frem_float))
35 (export "big_uint_div_u" (func $big_uint_div_u))
36 (export "trapping_sint_div_s" (func $trapping_sint_div_s))
37 (export "fr" (func $legalstub$fr))
38 (export "negZero" (func $negZero))
39 (export "neg" (func $neg))
40 (export "smallCompare" (func $smallCompare))
41 (export "cneg_nosemicolon" (func $cneg_nosemicolon))
42 (export "forLoop" (func $forLoop))
43 (export "ceiling_32_64" (func $legalstub$ceiling_32_64))
44 (export "aborts" (func $aborts))
45 (export "continues" (func $continues))
46 (export "bitcasts" (func $legalstub$bitcasts))
47 (export "recursiveBlockMerging" (func $recursiveBlockMerging))
48 (export "lb" (func $lb))
49 (export "zeroInit" (func $zeroInit))
50 (export "phi" (func $phi))
51 (export "smallIf" (func $smallIf))
52 (export "dropCall" (func $dropCall))
53 (export "useSetGlobal" (func $useSetGlobal))
54 (export "usesSetGlobal2" (func $usesSetGlobal2))
55 (export "breakThroughMany" (func $breakThroughMany))
56 (export "ifChainEmpty" (func $ifChainEmpty))
57 (export "heap8NoShift" (func $heap8NoShift))
58 (export "conditionalTypeFun" (func $conditionalTypeFun))
59 (export "loadSigned" (func $loadSigned))
60 (export "globalOpts" (func $globalOpts))
61 (export "dropCallImport" (func $dropCallImport))
62 (export "loophi" (func $loophi))
63 (export "loophi2" (func $loophi2))
64 (export "loophi2b" (func $loophi2b))
65 (export "relooperJumpThreading" (func $relooperJumpThreading))
66 (export "relooperJumpThreading__ZN4game14preloadweaponsEv" (func $relooperJumpThreading__ZN4game14preloadweaponsEv))
67 (export "__Z12multi_varargiz" (func $__Z12multi_varargiz))
68 (export "jumpThreadDrop" (func $jumpThreadDrop))
69 (export "dropIgnoredImportInIf" (func $dropIgnoredImportInIf))
70 (export "dropIgnoredImportsInIf" (func $dropIgnoredImportsInIf))
71 (export "relooperJumpThreading_irreducible" (func $relooperJumpThreading_irreducible))
72 (export "store_fround" (func $store_fround))
73 (export "exportedNumber" (global $exportedNumber))
74 (export "relocatableAndModules" (func $relocatableAndModules))
75 (export "exported_f32_user" (func $legalstub$exported_f32_user))
76 (export "keepAlive" (func $keepAlive))
77 (func $big_negative (; 7 ;)
78 (nop)
79 )
80 (func $importedDoubles (; 8 ;) (result f64)
81 (if
82 (i32.gt_s
83 (get_global $Int)
84 (i32.const 0)
85 )
86 (return
87 (f64.const -3.4)
88 )
89 )
90 (if
91 (f64.gt
92 (get_global $Double)
93 (f64.const 0)
94 )
95 (return
96 (f64.const 5.6)
97 )
98 )
99 (f64.const 1.2)
100 )
101 (func $doubleCompares (; 9 ;) (param $0 f64) (param $1 f64) (result f64)
102 (if
103 (f64.gt
104 (get_local $0)
105 (f64.const 0)
106 )
107 (return
108 (f64.const 1.2)
109 )
110 )
111 (if
112 (f64.gt
113 (get_local $0)
114 (f64.const 0)
115 )
116 (return
117 (f64.const -3.4)
118 )
119 )
120 (if
121 (i32.gt_s
122 (get_global $n)
123 (i32.const 0)
124 )
125 (return
126 (f64.const 5.6)
127 )
128 )
129 (if
130 (f64.lt
131 (get_local $0)
132 (get_local $1)
133 )
134 (return
135 (get_local $0)
136 )
137 )
138 (get_local $1)
139 )
140 (func $intOps (; 10 ;) (param $0 i32) (result i32)
141 (i32.eqz
142 (get_local $0)
143 )
144 )
145 (func $conversions (; 11 ;) (param $0 i32) (param $1 f64) (param $2 f32)
146 (nop)
147 )
148 (func $switcher (; 12 ;) (param $0 i32) (result i32)
149 (block $switch
150 (block $switch-case0
151 (block $switch-case
152 (br_table $switch-case $switch-case0 $switch
153 (i32.sub
154 (get_local $0)
155 (i32.const 1)
156 )
157 )
158 )
159 (return
160 (i32.const 1)
161 )
162 )
163 (return
164 (i32.const 2)
165 )
166 )
167 (block $switch1
168 (block $switch-case3
169 (block $switch-case2
170 (br_table $switch-case3 $switch1 $switch1 $switch1 $switch1 $switch1 $switch1 $switch-case2 $switch1
171 (i32.sub
172 (get_local $0)
173 (i32.const 5)
174 )
175 )
176 )
177 (return
178 (i32.const 121)
179 )
180 )
181 (return
182 (i32.const 51)
183 )
184 )
185 (block $switch-case9
186 (block $switch-case4
187 (br_table $switch-case9 $switch-case9 $switch-case9 $switch-case4 $switch-case9 $switch-case9 $switch-case9 $switch-case9 $switch-case4 $switch-case9 $switch-case4 $switch-case9
188 (i32.sub
189 (get_local $0)
190 (i32.const 2)
191 )
192 )
193 )
194 )
195 (loop $label$continue$L1
196 (block $label$break$L1
197 (loop $label$continue$L3
198 (block $label$break$L3
199 (block $switch-default
200 (block $switch-case13
201 (block $switch-case12
202 (block $switch-case11
203 (br_table $switch-case11 $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-case13 $switch-default $switch-default $switch-default $switch-default $switch-default $switch-case12 $switch-default
204 (i32.sub
205 (get_local $0)
206 (i32.const -1)
207 )
208 )
209 )
210 (br $label$break$L1)
211 )
212 (br $label$continue$L3)
213 )
214 (br $label$break$L3)
215 )
216 (br $label$break$L1)
217 )
218 )
219 (call $h
220 (i32.const 120)
221 )
222 (br $label$continue$L1)
223 )
224 )
225 (i32.const 0)
226 )
227 (func $frem (; 13 ;) (result f64)
228 (call $f64-rem
229 (f64.const 5.5)
230 (f64.const 1.2)
231 )
232 )
233 (func $frem_float (; 14 ;) (result f32)
234 (f32.demote/f64
235 (call $f64-rem
236 (f64.const 5.5)
237 (f64.const 1.2000000476837158)
238 )
239 )
240 )
241 (func $big_uint_div_u (; 15 ;) (result i32)
242 (i32.const 2147483647)
243 )
244 (func $trapping_sint_div_s (; 16 ;) (result i32)
245 (i32.div_s
246 (i32.const -2147483648)
247 (i32.const -1)
248 )
249 )
250 (func $fr (; 17 ;) (param $0 f32)
251 (nop)
252 )
253 (func $negZero (; 18 ;) (result f64)
254 (f64.const -0)
255 )
256 (func $neg (; 19 ;)
257 (local $0 f32)
258 (call_indirect (type $FUNCSIG$vf)
259 (f32.neg
260 (get_local $0)
261 )
262 (i32.const 9)
263 )
264 )
265 (func $cneg (; 20 ;) (param $0 f32)
266 (call_indirect (type $FUNCSIG$vf)
267 (get_local $0)
268 (i32.const 9)
269 )
270 )
271 (func $smallCompare (; 21 ;) (param $0 i32) (param $1 i32) (result i32)
272 (if
273 (i32.lt_s
274 (get_local $0)
275 (get_local $1)
276 )
277 (set_local $0
278 (i32.add
279 (get_local $0)
280 (i32.const 1)
281 )
282 )
283 )
284 (if
285 (i32.lt_u
286 (get_local $0)
287 (get_local $1)
288 )
289 (set_local $0
290 (i32.add
291 (get_local $0)
292 (i32.const 1)
293 )
294 )
295 )
296 (get_local $0)
297 )
298 (func $cneg_nosemicolon (; 22 ;)
299 (call_indirect (type $FUNCSIG$vi)
300 (i32.const 1)
301 (i32.const 17)
302 )
303 )
304 (func $forLoop (; 23 ;)
305 (local $0 i32)
306 (set_local $0
307 (i32.const 1)
308 )
309 (loop $for-in
310 (if
311 (i32.lt_s
312 (get_local $0)
313 (i32.const 200)
314 )
315 (block
316 (call $h
317 (get_local $0)
318 )
319 (set_local $0
320 (i32.add
321 (get_local $0)
322 (i32.const 1)
323 )
324 )
325 (br $for-in)
326 )
327 )
328 )
329 )
330 (func $ceiling_32_64 (; 24 ;) (param $0 f32) (param $1 f64)
331 (nop)
332 )
333 (func $aborts (; 25 ;)
334 (drop
335 (call $abort
336 (f64.const 0)
337 )
338 )
339 (drop
340 (call $abort
341 (f64.convert_s/i32
342 (i32.const 55)
343 )
344 )
345 )
346 (drop
347 (call $abort
348 (f64.const 0)
349 )
350 )
351 (drop
352 (call $abort
353 (f64.const 12.34)
354 )
355 )
356 (drop
357 (call $abort
358 (f64.const 56.779998779296875)
359 )
360 )
361 )
362 (func $continues (; 26 ;)
363 (loop $while-in
364 (call $print
365 (i32.const 1)
366 )
367 (loop $unlikely-continue
368 (call $print
369 (i32.const 5)
370 )
371 (br_if $unlikely-continue
372 (call $return_int)
373 )
374 )
375 (call $print
376 (i32.const 2)
377 )
378 (br $while-in)
379 )
380 )
381 (func $bitcasts (; 27 ;) (param $0 i32) (param $1 f32)
382 (nop)
383 )
384 (func $recursiveBlockMerging (; 28 ;) (param $0 i32) (result i32)
385 (drop
386 (call $lb
387 (i32.add
388 (get_local $0)
389 (i32.const 22)
390 )
391 )
392 )
393 (drop
394 (call $lb
395 (i32.const 1)
396 )
397 )
398 (drop
399 (call $lb
400 (i32.const 2)
401 )
402 )
403 (i32.add
404 (i32.add
405 (i32.add
406 (get_local $0)
407 (call $lb
408 (i32.const 3)
409 )
410 )
411 (block (result i32)
412 (drop
413 (call $lb
414 (i32.const 4)
415 )
416 )
417 (drop
418 (call $lb
419 (i32.const 5)
420 )
421 )
422 (drop
423 (call $lb
424 (i32.const 6)
425 )
426 )
427 (call $lb
428 (i32.const 7)
429 )
430 )
431 )
432 (block (result i32)
433 (drop
434 (call $lb
435 (i32.const 8)
436 )
437 )
438 (drop
439 (call $lb
440 (i32.const 9)
441 )
442 )
443 (drop
444 (call $lb
445 (i32.const 10)
446 )
447 )
448 (drop
449 (call $lb
450 (i32.const 11)
451 )
452 )
453 (call $lb
454 (i32.const 12)
455 )
456 )
457 )
458 )
459 (func $lb (; 29 ;) (param $0 i32) (result i32)
460 (i32.store
461 (get_local $0)
462 (i32.add
463 (get_global $n)
464 (i32.const 144)
465 )
466 )
467 (i32.const 0)
468 )
469 (func $zeroInit (; 30 ;) (param $0 i32)
470 (local $1 i32)
471 (if
472 (call $lb
473 (i32.const 0)
474 )
475 (if
476 (call $lb
477 (i32.const 1)
478 )
479 (set_local $1
480 (i32.const 3)
481 )
482 )
483 (set_local $1
484 (i32.const 3)
485 )
486 )
487 (if
488 (i32.eq
489 (get_local $1)
490 (i32.const 3)
491 )
492 (drop
493 (call $lb
494 (i32.const 2)
495 )
496 )
497 )
498 )
499 (func $phi (; 31 ;) (result i32)
500 (block $do-once (result i32)
501 (drop
502 (br_if $do-once
503 (i32.const 0)
504 (call $lb
505 (i32.const 1)
506 )
507 )
508 )
509 (i32.const 1)
510 )
511 )
512 (func $smallIf (; 32 ;)
513 (if
514 (call $return_int)
515 (drop
516 (call $lb
517 (i32.const 3)
518 )
519 )
520 )
521 )
522 (func $dropCall (; 33 ;) (result i32)
523 (if
524 (call $return_int)
525 (block
526 (drop
527 (call $phi)
528 )
529 (drop
530 (call $setTempRet0
531 (i32.const 10)
532 )
533 )
534 (call $zeroInit
535 (call $setTempRet0
536 (i32.const 10)
537 )
538 )
539 )
540 )
541 (call $phi)
542 )
543 (func $useSetGlobal (; 34 ;) (result i32)
544 (set_global $Int
545 (i32.const 10)
546 )
547 (set_global $Int
548 (i32.const 20)
549 )
550 (set_global $Int
551 (i32.const 30)
552 )
553 (get_global $Int)
554 )
555 (func $usesSetGlobal2 (; 35 ;) (result i32)
556 (set_global $Int
557 (i32.const 40)
558 )
559 (i32.const 50)
560 )
561 (func $breakThroughMany (; 36 ;) (param $0 i32)
562 (block $label$break$L1
563 (if
564 (get_local $0)
565 (loop $while-in
566 (br_if $label$break$L1
567 (i32.eqz
568 (get_local $0)
569 )
570 )
571 (call $zeroInit
572 (i32.const 0)
573 )
574 (br $while-in)
575 )
576 )
577 )
578 )
579 (func $ifChainEmpty (; 37 ;) (param $0 i32) (result i32)
580 (if
581 (i32.eq
582 (get_local $0)
583 (i32.const 4)
584 )
585 (return
586 (i32.const 0)
587 )
588 )
589 (i32.const 0)
590 )
591 (func $heap8NoShift (; 38 ;) (param $0 i32) (result i32)
592 (i32.load8_s
593 (get_local $0)
594 )
595 )
596 (func $conditionalTypeFun (; 39 ;)
597 (drop
598 (if (result i32)
599 (call $return_int)
600 (i32.trunc_s/f64
601 (call $abort
602 (f64.convert_s/i32
603 (i32.const 5)
604 )
605 )
606 )
607 (i32.const 2)
608 )
609 )
610 (drop
611 (if (result f64)
612 (call $return_int)
613 (call $abort
614 (f64.convert_s/i32
615 (i32.const 7)
616 )
617 )
618 (f64.const 4.5)
619 )
620 )
621 )
622 (func $loadSigned (; 40 ;) (param $0 i32)
623 (call $loadSigned
624 (i32.load8_s
625 (get_local $0)
626 )
627 )
628 (call $loadSigned
629 (i32.load8_s
630 (get_local $0)
631 )
632 )
633 (call $loadSigned
634 (i32.load16_s
635 (get_local $0)
636 )
637 )
638 (call $loadSigned
639 (i32.load16_s
640 (get_local $0)
641 )
642 )
643 (call $loadSigned
644 (i32.shr_s
645 (i32.shl
646 (i32.load8_s
647 (get_local $0)
648 )
649 (i32.const 24)
650 )
651 (i32.const 16)
652 )
653 )
654 (call $loadSigned
655 (i32.shr_s
656 (i32.shl
657 (i32.load8_u
658 (get_local $0)
659 )
660 (i32.const 16)
661 )
662 (i32.const 24)
663 )
664 )
665 (call $loadSigned
666 (i32.shr_s
667 (i32.shl
668 (i32.load16_s
669 (get_local $0)
670 )
671 (i32.const 16)
672 )
673 (i32.const 24)
674 )
675 )
676 (call $loadSigned
677 (i32.shr_s
678 (i32.shl
679 (i32.load16_u
680 (get_local $0)
681 )
682 (i32.const 24)
683 )
684 (i32.const 16)
685 )
686 )
687 )
688 (func $w (; 41 ;) (result f64)
689 (f64.const 0)
690 )
691 (func $globalOpts (; 42 ;)
692 (local $0 i32)
693 (i32.store8
694 (i32.const 13)
695 (i32.load
696 (i32.const 12)
697 )
698 )
699 (call $globalOpts)
700 (set_local $0
701 (get_global $Int)
702 )
703 (if
704 (call $return_int)
705 (set_global $Int
706 (i32.const 20)
707 )
708 )
709 (set_global $Int
710 (get_local $0)
711 )
712 (call $globalOpts)
713 (set_local $0
714 (get_global $Int)
715 )
716 (call $globalOpts)
717 (set_global $Int
718 (get_local $0)
719 )
720 )
721 (func $dropCallImport (; 43 ;)
722 (if
723 (call $return_int)
724 (drop
725 (call $return_int)
726 )
727 )
728 )
729 (func $loophi (; 44 ;) (param $0 i32) (param $1 i32)
730 (local $2 i32)
731 (loop $while-in
732 (block $while-out
733 (call $loophi
734 (get_local $0)
735 (i32.const 0)
736 )
737 (if
738 (tee_local $2
739 (get_local $0)
740 )
741 (br_if $while-out
742 (get_local $2)
743 )
744 )
745 (br_if $while-in
746 (i32.eq
747 (tee_local $0
748 (i32.add
749 (get_local $0)
750 (i32.const 1)
751 )
752 )
753 (get_local $1)
754 )
755 )
756 )
757 )
758 )
759 (func $loophi2 (; 45 ;) (result i32)
760 (local $0 i32)
761 (local $1 i32)
762 (local $2 i32)
763 (set_local $1
764 (i32.const 0)
765 )
766 (loop $label$continue$L7
767 (block $label$break$L7
768 (set_local $0
769 (i32.const 0)
770 )
771 (loop $while-in
772 (set_local $2
773 (get_local $0)
774 )
775 (if
776 (call $return_int)
777 (br_if $label$break$L7
778 (get_local $2)
779 )
780 )
781 (br_if $while-in
782 (tee_local $0
783 (i32.add
784 (get_local $0)
785 (i32.const 1)
786 )
787 )
788 )
789 )
790 (br $label$continue$L7)
791 )
792 )
793 (get_local $1)
794 )
795 (func $loophi2b (; 46 ;) (result i32)
796 (local $0 i32)
797 (local $1 i32)
798 (loop $label$continue$L7
799 (block $label$break$L7
800 (set_local $0
801 (i32.const 0)
802 )
803 (loop $while-in
804 (set_local $1
805 (get_local $0)
806 )
807 (if
808 (call $return_int)
809 (br_if $label$break$L7
810 (get_local $1)
811 )
812 )
813 (br_if $while-in
814 (tee_local $0
815 (i32.add
816 (get_local $0)
817 (i32.const 1)
818 )
819 )
820 )
821 )
822 (br $label$continue$L7)
823 )
824 )
825 (get_local $0)
826 )
827 (func $relooperJumpThreading (; 47 ;) (param $0 i32) (result i32)
828 (block $__rjto$0
829 (block $__rjti$0
830 (if
831 (get_local $0)
832 (block
833 (call $h
834 (i32.const 0)
835 )
836 (br $__rjti$0)
837 )
838 )
839 (br $__rjto$0)
840 )
841 (call $h
842 (i32.const 1)
843 )
844 )
845 (call $h
846 (i32.const -1)
847 )
848 (loop $while-in
849 (br_if $while-in
850 (i32.eqz
851 (tee_local $0
852 (i32.add
853 (get_local $0)
854 (i32.const 1)
855 )
856 )
857 )
858 )
859 (call $h
860 (i32.const 2)
861 )
862 )
863 (call $h
864 (i32.const 3)
865 )
866 (call $h
867 (i32.const -2)
868 )
869 (block $__rjto$3
870 (block $__rjti$3
871 (block $__rjti$2
872 (if
873 (get_local $0)
874 (block
875 (call $h
876 (i32.const 4)
877 )
878 (br_if $__rjti$2
879 (i32.eq
880 (get_local $0)
881 (i32.const 3)
882 )
883 )
884 (br $__rjti$3)
885 )
886 )
887 (br $__rjto$3)
888 )
889 (call $h
890 (i32.const 5)
891 )
892 (br $__rjto$3)
893 )
894 (call $h
895 (i32.const 6)
896 )
897 )
898 (call $h
899 (i32.const -3)
900 )
901 (block $__rjto$5
902 (block $__rjti$5
903 (block $__rjti$4
904 (if
905 (get_local $0)
906 (block
907 (call $h
908 (i32.const 7)
909 )
910 (br_if $__rjti$4
911 (i32.eq
912 (get_local $0)
913 (i32.const 5)
914 )
915 )
916 (br $__rjti$5)
917 )
918 )
919 (br $__rjto$5)
920 )
921 (call $h
922 (i32.const 8)
923 )
924 (br_if $__rjti$5
925 (i32.eq
926 (get_local $0)
927 (i32.const 6)
928 )
929 )
930 (br $__rjto$5)
931 )
932 (call $h
933 (i32.const 9)
934 )
935 )
936 (call $h
937 (i32.const -4)
938 )
939 (block $label$break$L1
940 (block $__rjti$6
941 (if
942 (get_local $0)
943 (block
944 (call $h
945 (i32.const 10)
946 )
947 (br $__rjti$6)
948 )
949 )
950 (br $label$break$L1)
951 )
952 (call $h
953 (i32.const 11)
954 )
955 )
956 (call $h
957 (i32.const -5)
958 )
959 (block $label$break$L10
960 (block $__rjti$8
961 (block $__rjti$7
962 (if
963 (get_local $0)
964 (block
965 (call $h
966 (i32.const 12)
967 )
968 (br_if $__rjti$7
969 (i32.eq
970 (get_local $0)
971 (i32.const 8)
972 )
973 )
974 (br $__rjti$8)
975 )
976 )
977 (br $label$break$L10)
978 )
979 (call $h
980 (i32.const 13)
981 )
982 (br_if $__rjti$8
983 (get_local $0)
984 )
985 (br $label$break$L10)
986 )
987 (call $h
988 (i32.const 14)
989 )
990 )
991 (call $h
992 (i32.const -6)
993 )
994 (get_local $0)
995 )
996 (func $relooperJumpThreading__ZN4game14preloadweaponsEv (; 48 ;) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (param $4 i32) (param $5 i32) (param $6 i32)
997 (loop $while-in
998 (block $__rjto$1
999 (block $__rjti$1
1000 (if
1001 (get_local $1)
1002 (br_if $__rjti$1
1003 (i32.eqz
1004 (get_local $2)
1005 )
1006 )
1007 (br_if $__rjti$1
1008 (i32.eqz
1009 (get_local $3)
1010 )
1011 )
1012 )
1013 (br $while-in)
1014 )
1015 (i32.store
1016 (get_local $4)
1017 (get_local $5)
1018 )
1019 )
1020 (br $while-in)
1021 )
1022 )
1023 (func $relooperJumpThreading_irreducible (; 49 ;) (param $0 i32)
1024 (local $1 i32)
1025 (if
1026 (i32.eq
1027 (get_local $0)
1028 (i32.const 100)
1029 )
1030 (loop $while-in
1031 (call $relooperJumpThreading_irreducible
1032 (i32.const 1337)
1033 )
1034 (br $while-in)
1035 )
1036 )
1037 (set_local $1
1038 (select
1039 (i32.const 2)
1040 (i32.const 10)
1041 (i32.eq
1042 (get_local $0)
1043 (i32.const 200)
1044 )
1045 )
1046 )
1047 (if
1048 (i32.eq
1049 (get_local $0)
1050 (i32.const 300)
1051 )
1052 (set_local $1
1053 (i32.const 2)
1054 )
1055 )
1056 (if
1057 (i32.eq
1058 (get_local $1)
1059 (i32.const 2)
1060 )
1061 (call $relooperJumpThreading_irreducible
1062 (i32.const 1448)
1063 )
1064 )
1065 (if
1066 (i32.eq
1067 (get_local $1)
1068 (i32.const 10)
1069 )
1070 (call $relooperJumpThreading_irreducible
1071 (i32.const 2000)
1072 )
1073 )
1074 )
1075 (func $__Z12multi_varargiz (; 50 ;) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32)
1076 (if
1077 (get_local $3)
1078 (loop $while-in
1079 (br_if $while-in
1080 (i32.eqz
1081 (get_local $2)
1082 )
1083 )
1084 )
1085 (drop
1086 (call $lb
1087 (i32.const 1)
1088 )
1089 )
1090 )
1091 )
1092 (func $jumpThreadDrop (; 51 ;) (result i32)
1093 (call $return_int)
1094 )
1095 (func $dropIgnoredImportInIf (; 52 ;) (param $0 i32) (param $1 i32) (param $2 i32)
1096 (if
1097 (get_local $0)
1098 (drop
1099 (call $lb
1100 (get_local $2)
1101 )
1102 )
1103 )
1104 )
1105 (func $dropIgnoredImportsInIf (; 53 ;) (param $0 i32) (param $1 i32) (param $2 i32)
1106 (drop
1107 (if (result i32)
1108 (get_local $0)
1109 (call $lb
1110 (get_local $1)
1111 )
1112 (call $lb
1113 (get_local $2)
1114 )
1115 )
1116 )
1117 )
1118 (func $store_fround (; 54 ;) (param $0 i32)
1119 (f64.store
1120 (i32.const 80)
1121 (f64.promote/f32
1122 (f32.convert_s/i32
1123 (get_local $0)
1124 )
1125 )
1126 )
1127 )
1128 (func $relocatableAndModules (; 55 ;) (result i32)
1129 (call_indirect (type $FUNCSIG$v)
1130 (i32.const 10)
1131 )
1132 (call_indirect (type $FUNCSIG$v)
1133 (i32.const 20)
1134 )
1135 (call_indirect (type $FUNCSIG$idi)
1136 (f64.const 1.5)
1137 (i32.const 200)
1138 (i32.const 30)
1139 )
1140 )
1141 (func $exported_f32_user (; 56 ;) (param $0 i32) (param $1 f32) (param $2 f64) (result f32)
1142 (get_local $1)
1143 )
1144 (func $sqrts (; 57 ;) (param $0 f64) (result f64)
1145 (f64.add
1146 (f64.sqrt
1147 (get_local $0)
1148 )
1149 (f64.promote/f32
1150 (f32.sqrt
1151 (f32.demote/f64
1152 (get_local $0)
1153 )
1154 )
1155 )
1156 )
1157 )
1158 (func $keepAlive (; 58 ;)
1159 (drop
1160 (call $sqrts
1161 (f64.const 3.14159)
1162 )
1163 )
1164 (drop
1165 (call $sqrts
1166 (f64.const 2.18281)
1167 )
1168 )
1169 (call_indirect (type $FUNCSIG$vi)
1170 (i32.const 0)
1171 (i32.const 17)
1172 )
1173 (call_indirect (type $FUNCSIG$vi)
1174 (i32.const 0)
1175 (block (result i32)
1176 (set_global $Int
1177 (i32.const 1)
1178 )
1179 (i32.add
1180 (i32.and
1181 (get_global $Int)
1182 (i32.const 7)
1183 )
1184 (i32.const 16)
1185 )
1186 )
1187 )
1188 (call $emscripten_log)
1189 (drop
1190 (i32.trunc_s/f64
1191 (call $abort
1192 (f64.const 0)
1193 )
1194 )
1195 )
1196 )
1197 (func $vi (; 59 ;) (param $0 i32)
1198 (nop)
1199 )
1200 (func $ii (; 60 ;) (param $0 i32) (result i32)
1201 (get_local $0)
1202 )
1203 (func $legalstub$conversions (; 61 ;) (param $0 i32) (param $1 f64) (param $2 f64)
1204 (call $conversions
1205 (get_local $0)
1206 (get_local $1)
1207 (f32.demote/f64
1208 (get_local $2)
1209 )
1210 )
1211 )
1212 (func $legalstub$frem_float (; 62 ;) (result f64)
1213 (f64.promote/f32
1214 (call $frem_float)
1215 )
1216 )
1217 (func $legalstub$fr (; 63 ;) (param $0 f64)
1218 (call $fr
1219 (f32.demote/f64
1220 (get_local $0)
1221 )
1222 )
1223 )
1224 (func $legalstub$ceiling_32_64 (; 64 ;) (param $0 f64) (param $1 f64)
1225 (call $ceiling_32_64
1226 (f32.demote/f64
1227 (get_local $0)
1228 )
1229 (get_local $1)
1230 )
1231 )
1232 (func $legalstub$bitcasts (; 65 ;) (param $0 i32) (param $1 f64)
1233 (call $bitcasts
1234 (get_local $0)
1235 (f32.demote/f64
1236 (get_local $1)
1237 )
1238 )
1239 )
1240 (func $legalstub$exported_f32_user (; 66 ;) (param $0 i32) (param $1 f64) (param $2 f64) (result f64)
1241 (f64.promote/f32
1242 (call $exported_f32_user
1243 (get_local $0)
1244 (f32.demote/f64
1245 (get_local $1)
1246 )
1247 (get_local $2)
1248 )
1249 )
1250 )
1251)