|
8 | 8 |
|
9 | 9 | ;; Passive
|
10 | 10 | (elem funcref)
|
11 |
| - (elem funcref (ref.func $f) (ref.func $f) (ref.null) (ref.func $g)) |
| 11 | + (elem funcref (ref.func $f) (ref.func $f) (ref.null func) (ref.func $g)) |
12 | 12 | (elem func)
|
13 | 13 | (elem func $f $f $g $g)
|
14 | 14 |
|
15 | 15 | (elem $p1 funcref)
|
16 |
| - (elem $p2 funcref (ref.func $f) (ref.func $f) (ref.null) (ref.func $g)) |
| 16 | + (elem $p2 funcref (ref.func $f) (ref.func $f) (ref.null func) (ref.func $g)) |
17 | 17 | (elem $p3 func)
|
18 | 18 | (elem $p4 func $f $f $g $g)
|
19 | 19 |
|
20 | 20 | ;; Active
|
21 | 21 | (elem (table $t) (i32.const 0) funcref)
|
22 |
| - (elem (table $t) (i32.const 0) funcref (ref.func $f) (ref.null)) |
| 22 | + (elem (table $t) (i32.const 0) funcref (ref.func $f) (ref.null func)) |
23 | 23 | (elem (table $t) (i32.const 0) func)
|
24 | 24 | (elem (table $t) (i32.const 0) func $f $g)
|
25 | 25 | (elem (table $t) (offset (i32.const 0)) funcref)
|
|
33 | 33 | (elem (table $t) (offset (i32.const 0)) func)
|
34 | 34 | (elem (table $t) (offset (i32.const 0)) func $f $f)
|
35 | 35 | (elem (offset (i32.const 0)))
|
36 |
| - (elem (offset (i32.const 0)) funcref (ref.func $f) (ref.null)) |
| 36 | + (elem (offset (i32.const 0)) funcref (ref.func $f) (ref.null func)) |
37 | 37 | (elem (offset (i32.const 0)) func $f $f)
|
38 | 38 | (elem (offset (i32.const 0)) $f $f)
|
39 | 39 | (elem (i32.const 0))
|
40 |
| - (elem (i32.const 0) funcref (ref.func $f) (ref.null)) |
| 40 | + (elem (i32.const 0) funcref (ref.func $f) (ref.null func)) |
41 | 41 | (elem (i32.const 0) func $f $f)
|
42 | 42 | (elem (i32.const 0) $f $f)
|
43 | 43 |
|
44 | 44 | (elem $a1 (table $t) (i32.const 0) funcref)
|
45 |
| - (elem $a2 (table $t) (i32.const 0) funcref (ref.func $f) (ref.null)) |
| 45 | + (elem $a2 (table $t) (i32.const 0) funcref (ref.func $f) (ref.null func)) |
46 | 46 | (elem $a3 (table $t) (i32.const 0) func)
|
47 | 47 | (elem $a4 (table $t) (i32.const 0) func $f $g)
|
48 | 48 | (elem $a9 (table $t) (offset (i32.const 0)) funcref)
|
|
56 | 56 | (elem $a17 (table $t) (offset (i32.const 0)) func)
|
57 | 57 | (elem $a18 (table $t) (offset (i32.const 0)) func $f $f)
|
58 | 58 | (elem $a19 (offset (i32.const 0)))
|
59 |
| - (elem $a20 (offset (i32.const 0)) funcref (ref.func $f) (ref.null)) |
| 59 | + (elem $a20 (offset (i32.const 0)) funcref (ref.func $f) (ref.null func)) |
60 | 60 | (elem $a21 (offset (i32.const 0)) func $f $f)
|
61 | 61 | (elem $a22 (offset (i32.const 0)) $f $f)
|
62 | 62 | (elem $a23 (i32.const 0))
|
63 |
| - (elem $a24 (i32.const 0) funcref (ref.func $f) (ref.null)) |
| 63 | + (elem $a24 (i32.const 0) funcref (ref.func $f) (ref.null func)) |
64 | 64 | (elem $a25 (i32.const 0) func $f $f)
|
65 | 65 | (elem $a26 (i32.const 0) $f $f)
|
66 | 66 | )
|
|
69 | 69 | (func $f)
|
70 | 70 | (func $g)
|
71 | 71 |
|
72 |
| - (table $t funcref (elem (ref.func $f) (ref.null) (ref.func $g))) |
| 72 | + (table $t funcref (elem (ref.func $f) (ref.null func) (ref.func $g))) |
73 | 73 | )
|
74 | 74 | ;; Basic use
|
75 | 75 |
|
|
0 commit comments