|
10 | 10 | (type $i32_i32_i32_=>_i32 (func (param i32 i32 i32) (result i32)))
|
11 | 11 | (type $none_=>_i32 (func (result i32)))
|
12 | 12 | (type $i32_i32_i32_i32_i32_=>_i32 (func (param i32 i32 i32 i32 i32) (result i32)))
|
| 13 | + (type $i32_f32_=>_i32 (func (param i32 f32) (result i32))) |
13 | 14 | (import "env" "abort" (func $~lib/builtins/abort (param i32 i32 i32 i32)))
|
14 | 15 | (global $~lib/rt/itcms/total (mut i32) (i32.const 0))
|
15 | 16 | (global $~lib/rt/itcms/threshold (mut i32) (i32.const 0))
|
|
30 | 31 | (global $class-overloading-cast/v3 (mut i32) (i32.const 0))
|
31 | 32 | (global $~lib/native/ASC_SHRINK_LEVEL i32 (i32.const 0))
|
32 | 33 | (global $class-overloading-cast/c (mut i32) (i32.const 0))
|
33 |
| - (global $~lib/rt/__rtti_base i32 (i32.const 592)) |
34 |
| - (global $~lib/memory/__data_end i32 (i32.const 676)) |
35 |
| - (global $~lib/memory/__stack_pointer (mut i32) (i32.const 17060)) |
36 |
| - (global $~lib/memory/__heap_base i32 (i32.const 17060)) |
| 34 | + (global $~lib/rt/__rtti_base i32 (i32.const 624)) |
| 35 | + (global $~lib/memory/__data_end i32 (i32.const 732)) |
| 36 | + (global $~lib/memory/__stack_pointer (mut i32) (i32.const 17116)) |
| 37 | + (global $~lib/memory/__heap_base i32 (i32.const 17116)) |
37 | 38 | (global $~started (mut i32) (i32.const 0))
|
38 | 39 | (memory $0 1)
|
39 | 40 | (data (i32.const 12) "<\00\00\00\00\00\00\00\00\00\00\00\01\00\00\00(\00\00\00A\00l\00l\00o\00c\00a\00t\00i\00o\00n\00 \00t\00o\00o\00 \00l\00a\00r\00g\00e\00\00\00\00\00")
|
|
48 | 49 | (data (i32.const 444) "\1c\00\00\00\00\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00B\00\00\00\00\00\00\00\00\00\00\00")
|
49 | 50 | (data (i32.const 476) "L\00\00\00\00\00\00\00\00\00\00\00\01\00\00\002\00\00\00c\00l\00a\00s\00s\00-\00o\00v\00e\00r\00l\00o\00a\00d\00i\00n\00g\00-\00c\00a\00s\00t\00.\00t\00s\00\00\00\00\00\00\00\00\00\00\00")
|
50 | 51 | (data (i32.const 556) "\1c\00\00\00\00\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00a\00\00\00\00\00\00\00\00\00\00\00")
|
51 |
| - (data (i32.const 592) "\n\00\00\00 \00\00\00\00\00\00\00 \00\00\00\00\00\00\00\00\00\00\00\00\00\00\00 \00\00\00\04\00\00\00 \00\00\00\00\00\00\00 \00\00\00\04\00\00\00 \00\00\00\07\00\00\00 \00\00\00\00\00\00\00 \00\00\00\t\00\00\00 \00\00\00\00\00\00\00") |
| 52 | + (data (i32.const 588) "\1c\00\00\00\00\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00D\00\00\00\00\00\00\00\00\00\00\00") |
| 53 | + (data (i32.const 624) "\0d\00\00\00 \00\00\00\00\00\00\00 \00\00\00\00\00\00\00\00\00\00\00\00\00\00\00 \00\00\00\04\00\00\00 \00\00\00\00\00\00\00 \00\00\00\04\00\00\00 \00\00\00\07\00\00\00 \00\00\00\00\00\00\00 \00\00\00\t\00\00\00 \00\00\00\00\00\00\00 \00\00\00\0b\00\00\00 \00\00\00\0c\00\00\00 \00\00\00\00\00\00\00") |
52 | 54 | (table $0 1 1 funcref)
|
53 | 55 | (elem $0 (i32.const 1))
|
54 | 56 | (export "memory" (memory $0))
|
|
2292 | 2294 | (func $class-overloading-cast/A<~lib/string/String>#foo (param $this i32) (param $a i32) (result i32)
|
2293 | 2295 | i32.const 432
|
2294 | 2296 | )
|
| 2297 | + (func $class-overloading-cast/D#bar (param $this i32) (param $a f32) (result i32) |
| 2298 | + i32.const 608 |
| 2299 | + ) |
2295 | 2300 | (func $class-overloading-cast/B<i32,f64>#foo (param $this i32) (param $a i32) (result i32)
|
2296 | 2301 | i32.const 464
|
2297 | 2302 | )
|
|
2417 | 2422 | )
|
2418 | 2423 | (func $~lib/rt/__visit_members (param $0 i32) (param $1 i32)
|
2419 | 2424 | block $invalid
|
2420 |
| - block $class-overloading-cast/A<~lib/string/String> |
2421 |
| - block $class-overloading-cast/C |
2422 |
| - block $class-overloading-cast/A<f64> |
2423 |
| - block $class-overloading-cast/B<f64,~lib/string/String> |
2424 |
| - block $class-overloading-cast/B<i32,~lib/string/String> |
2425 |
| - block $class-overloading-cast/A<i32> |
2426 |
| - block $class-overloading-cast/B<i32,f64> |
2427 |
| - block $~lib/arraybuffer/ArrayBufferView |
2428 |
| - block $~lib/string/String |
2429 |
| - block $~lib/arraybuffer/ArrayBuffer |
| 2425 | + block $class-overloading-cast/A<f32> |
| 2426 | + block $class-overloading-cast/B<f32,f64> |
| 2427 | + block $class-overloading-cast/D |
| 2428 | + block $class-overloading-cast/A<~lib/string/String> |
| 2429 | + block $class-overloading-cast/C |
| 2430 | + block $class-overloading-cast/A<f64> |
| 2431 | + block $class-overloading-cast/B<f64,~lib/string/String> |
| 2432 | + block $class-overloading-cast/B<i32,~lib/string/String> |
| 2433 | + block $class-overloading-cast/A<i32> |
| 2434 | + block $class-overloading-cast/B<i32,f64> |
| 2435 | + block $~lib/arraybuffer/ArrayBufferView |
| 2436 | + block $~lib/string/String |
| 2437 | + block $~lib/arraybuffer/ArrayBuffer |
| 2438 | + local.get $0 |
| 2439 | + i32.const 8 |
| 2440 | + i32.sub |
| 2441 | + i32.load $0 |
| 2442 | + br_table $~lib/arraybuffer/ArrayBuffer $~lib/string/String $~lib/arraybuffer/ArrayBufferView $class-overloading-cast/B<i32,f64> $class-overloading-cast/A<i32> $class-overloading-cast/B<i32,~lib/string/String> $class-overloading-cast/B<f64,~lib/string/String> $class-overloading-cast/A<f64> $class-overloading-cast/C $class-overloading-cast/A<~lib/string/String> $class-overloading-cast/D $class-overloading-cast/B<f32,f64> $class-overloading-cast/A<f32> $invalid |
| 2443 | + end |
| 2444 | + return |
| 2445 | + end |
| 2446 | + return |
| 2447 | + end |
2430 | 2448 | local.get $0
|
2431 |
| - i32.const 8 |
2432 |
| - i32.sub |
2433 |
| - i32.load $0 |
2434 |
| - br_table $~lib/arraybuffer/ArrayBuffer $~lib/string/String $~lib/arraybuffer/ArrayBufferView $class-overloading-cast/B<i32,f64> $class-overloading-cast/A<i32> $class-overloading-cast/B<i32,~lib/string/String> $class-overloading-cast/B<f64,~lib/string/String> $class-overloading-cast/A<f64> $class-overloading-cast/C $class-overloading-cast/A<~lib/string/String> $invalid |
| 2449 | + local.get $1 |
| 2450 | + call $~lib/arraybuffer/ArrayBufferView~visit |
| 2451 | + return |
2435 | 2452 | end
|
2436 | 2453 | return
|
2437 | 2454 | end
|
2438 | 2455 | return
|
2439 | 2456 | end
|
2440 |
| - local.get $0 |
2441 |
| - local.get $1 |
2442 |
| - call $~lib/arraybuffer/ArrayBufferView~visit |
2443 | 2457 | return
|
2444 | 2458 | end
|
2445 | 2459 | return
|
|
2472 | 2486 | global.get $~lib/memory/__data_end
|
2473 | 2487 | i32.lt_s
|
2474 | 2488 | if
|
2475 |
| - i32.const 17088 |
2476 | 2489 | i32.const 17136
|
| 2490 | + i32.const 17184 |
2477 | 2491 | i32.const 1
|
2478 | 2492 | i32.const 1
|
2479 | 2493 | call $~lib/builtins/abort
|
|
2543 | 2557 | if
|
2544 | 2558 | i32.const 0
|
2545 | 2559 | i32.const 496
|
2546 |
| - i32.const 17 |
| 2560 | + i32.const 26 |
2547 | 2561 | i32.const 1
|
2548 | 2562 | call $~lib/builtins/abort
|
2549 | 2563 | unreachable
|
|
2572 | 2586 | if
|
2573 | 2587 | i32.const 0
|
2574 | 2588 | i32.const 496
|
2575 |
| - i32.const 18 |
| 2589 | + i32.const 27 |
2576 | 2590 | i32.const 1
|
2577 | 2591 | call $~lib/builtins/abort
|
2578 | 2592 | unreachable
|
|
2601 | 2615 | if
|
2602 | 2616 | i32.const 0
|
2603 | 2617 | i32.const 496
|
2604 |
| - i32.const 19 |
| 2618 | + i32.const 28 |
2605 | 2619 | i32.const 1
|
2606 | 2620 | call $~lib/builtins/abort
|
2607 | 2621 | unreachable
|
|
2638 | 2652 | if
|
2639 | 2653 | i32.const 0
|
2640 | 2654 | i32.const 496
|
2641 |
| - i32.const 23 |
| 2655 | + i32.const 32 |
2642 | 2656 | i32.const 1
|
2643 | 2657 | call $~lib/builtins/abort
|
2644 | 2658 | unreachable
|
|
2672 | 2686 | if
|
2673 | 2687 | i32.const 0
|
2674 | 2688 | i32.const 496
|
2675 |
| - i32.const 24 |
| 2689 | + i32.const 33 |
| 2690 | + i32.const 1 |
| 2691 | + call $~lib/builtins/abort |
| 2692 | + unreachable |
| 2693 | + end |
| 2694 | + i32.const 0 |
| 2695 | + call $class-overloading-cast/D#constructor |
| 2696 | + local.set $0 |
| 2697 | + global.get $~lib/memory/__stack_pointer |
| 2698 | + local.get $0 |
| 2699 | + i32.store $0 offset=8 |
| 2700 | + local.get $0 |
| 2701 | + f32.const 2.5 |
| 2702 | + call $class-overloading-cast/D#bar |
| 2703 | + local.set $0 |
| 2704 | + global.get $~lib/memory/__stack_pointer |
| 2705 | + local.get $0 |
| 2706 | + i32.store $0 |
| 2707 | + local.get $0 |
| 2708 | + i32.const 608 |
| 2709 | + local.set $0 |
| 2710 | + global.get $~lib/memory/__stack_pointer |
| 2711 | + local.get $0 |
| 2712 | + i32.store $0 offset=4 |
| 2713 | + local.get $0 |
| 2714 | + call $~lib/string/String.__eq |
| 2715 | + i32.eqz |
| 2716 | + if |
| 2717 | + i32.const 0 |
| 2718 | + i32.const 496 |
| 2719 | + i32.const 35 |
2676 | 2720 | i32.const 1
|
2677 | 2721 | call $~lib/builtins/abort
|
2678 | 2722 | unreachable
|
|
2898 | 2942 | global.set $~lib/memory/__stack_pointer
|
2899 | 2943 | local.get $1
|
2900 | 2944 | )
|
| 2945 | + (func $class-overloading-cast/A<f32>#constructor (param $0 i32) (result i32) |
| 2946 | + (local $1 i32) |
| 2947 | + global.get $~lib/memory/__stack_pointer |
| 2948 | + i32.const 4 |
| 2949 | + i32.sub |
| 2950 | + global.set $~lib/memory/__stack_pointer |
| 2951 | + call $~stack_check |
| 2952 | + global.get $~lib/memory/__stack_pointer |
| 2953 | + i32.const 0 |
| 2954 | + i32.store $0 |
| 2955 | + local.get $0 |
| 2956 | + i32.eqz |
| 2957 | + if |
| 2958 | + global.get $~lib/memory/__stack_pointer |
| 2959 | + i32.const 0 |
| 2960 | + i32.const 12 |
| 2961 | + call $~lib/rt/itcms/__new |
| 2962 | + local.tee $0 |
| 2963 | + i32.store $0 |
| 2964 | + end |
| 2965 | + local.get $0 |
| 2966 | + local.set $1 |
| 2967 | + global.get $~lib/memory/__stack_pointer |
| 2968 | + i32.const 4 |
| 2969 | + i32.add |
| 2970 | + global.set $~lib/memory/__stack_pointer |
| 2971 | + local.get $1 |
| 2972 | + ) |
| 2973 | + (func $class-overloading-cast/B<f32,f64>#constructor (param $0 i32) (result i32) |
| 2974 | + (local $1 i32) |
| 2975 | + global.get $~lib/memory/__stack_pointer |
| 2976 | + i32.const 4 |
| 2977 | + i32.sub |
| 2978 | + global.set $~lib/memory/__stack_pointer |
| 2979 | + call $~stack_check |
| 2980 | + global.get $~lib/memory/__stack_pointer |
| 2981 | + i32.const 0 |
| 2982 | + i32.store $0 |
| 2983 | + local.get $0 |
| 2984 | + i32.eqz |
| 2985 | + if |
| 2986 | + global.get $~lib/memory/__stack_pointer |
| 2987 | + i32.const 0 |
| 2988 | + i32.const 11 |
| 2989 | + call $~lib/rt/itcms/__new |
| 2990 | + local.tee $0 |
| 2991 | + i32.store $0 |
| 2992 | + end |
| 2993 | + global.get $~lib/memory/__stack_pointer |
| 2994 | + local.get $0 |
| 2995 | + call $class-overloading-cast/A<f32>#constructor |
| 2996 | + local.tee $0 |
| 2997 | + i32.store $0 |
| 2998 | + local.get $0 |
| 2999 | + local.set $1 |
| 3000 | + global.get $~lib/memory/__stack_pointer |
| 3001 | + i32.const 4 |
| 3002 | + i32.add |
| 3003 | + global.set $~lib/memory/__stack_pointer |
| 3004 | + local.get $1 |
| 3005 | + ) |
| 3006 | + (func $class-overloading-cast/D#constructor (param $0 i32) (result i32) |
| 3007 | + (local $1 i32) |
| 3008 | + global.get $~lib/memory/__stack_pointer |
| 3009 | + i32.const 4 |
| 3010 | + i32.sub |
| 3011 | + global.set $~lib/memory/__stack_pointer |
| 3012 | + call $~stack_check |
| 3013 | + global.get $~lib/memory/__stack_pointer |
| 3014 | + i32.const 0 |
| 3015 | + i32.store $0 |
| 3016 | + local.get $0 |
| 3017 | + i32.eqz |
| 3018 | + if |
| 3019 | + global.get $~lib/memory/__stack_pointer |
| 3020 | + i32.const 0 |
| 3021 | + i32.const 10 |
| 3022 | + call $~lib/rt/itcms/__new |
| 3023 | + local.tee $0 |
| 3024 | + i32.store $0 |
| 3025 | + end |
| 3026 | + global.get $~lib/memory/__stack_pointer |
| 3027 | + local.get $0 |
| 3028 | + call $class-overloading-cast/B<f32,f64>#constructor |
| 3029 | + local.tee $0 |
| 3030 | + i32.store $0 |
| 3031 | + local.get $0 |
| 3032 | + local.set $1 |
| 3033 | + global.get $~lib/memory/__stack_pointer |
| 3034 | + i32.const 4 |
| 3035 | + i32.add |
| 3036 | + global.set $~lib/memory/__stack_pointer |
| 3037 | + local.get $1 |
| 3038 | + ) |
2901 | 3039 | )
|
0 commit comments