Skip to content

Commit 1144e51

Browse files
github-actions[bot]WebAssembly/testsuite auto-update
andauthored
Auto-update for 2025-11-26 (#146)
Update repos: custom-descriptors: WebAssembly/custom-descriptors@da3a290 This change was automatically generated by `update-testsuite.py` Co-authored-by: WebAssembly/testsuite auto-update <[email protected]>
1 parent 637a6bc commit 1144e51

File tree

5 files changed

+226
-81
lines changed

5 files changed

+226
-81
lines changed

proposals/custom-descriptors/br_on_cast_desc.wast

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1126,13 +1126,13 @@
11261126
(global $b2-exact (ref null (exact $b)) (struct.new $b))
11271127
(global $b1 (ref null $b) (global.get $b1-exact))
11281128
(global $b2 (ref null $b) (global.get $b2-exact))
1129-
(global $a1 (ref null $a) (struct.new $a (global.get $b1-exact)))
1129+
(global $a1 (ref null $a) (struct.new_desc $a (global.get $b1-exact)))
11301130

11311131
(global $d1-exact (ref null (exact $d)) (struct.new $d))
11321132
(global $d2-exact (ref null (exact $d)) (struct.new $d))
11331133
(global $d1 (ref null $d) (global.get $d1-exact))
11341134
(global $d2 (ref null $d) (global.get $d2-exact))
1135-
(global $c1 (ref null $c) (struct.new $c (global.get $d1-exact)))
1135+
(global $c1 (ref null $c) (struct.new_desc $c (global.get $d1-exact)))
11361136

11371137
(global $c1-as-a (ref null $a) (global.get $c1))
11381138

@@ -1916,7 +1916,7 @@
19161916

19171917
(global $b1 (ref (exact $b)) (struct.new $b))
19181918
(global $b2 (ref (exact $b)) (struct.new $b))
1919-
(global $a1 (ref (exact $a)) (struct.new $a (global.get $b1)))
1919+
(global $a1 (ref (exact $a)) (struct.new_desc $a (global.get $b1)))
19201920

19211921
(func $assert-eq-i32 (param i32 i32)
19221922
(if

proposals/custom-descriptors/br_on_cast_desc_fail.wast

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1112,13 +1112,13 @@
11121112
(global $b2-exact (ref null (exact $b)) (struct.new $b))
11131113
(global $b1 (ref null $b) (global.get $b1-exact))
11141114
(global $b2 (ref null $b) (global.get $b2-exact))
1115-
(global $a1 (ref null $a) (struct.new $a (global.get $b1-exact)))
1115+
(global $a1 (ref null $a) (struct.new_desc $a (global.get $b1-exact)))
11161116

11171117
(global $d1-exact (ref null (exact $d)) (struct.new $d))
11181118
(global $d2-exact (ref null (exact $d)) (struct.new $d))
11191119
(global $d1 (ref null $d) (global.get $d1-exact))
11201120
(global $d2 (ref null $d) (global.get $d2-exact))
1121-
(global $c1 (ref null $c) (struct.new $c (global.get $d1-exact)))
1121+
(global $c1 (ref null $c) (struct.new_desc $c (global.get $d1-exact)))
11221122

11231123
(global $c1-as-a (ref null $a) (global.get $c1))
11241124

@@ -1902,7 +1902,7 @@
19021902

19031903
(global $b1 (ref (exact $b)) (struct.new $b))
19041904
(global $b2 (ref (exact $b)) (struct.new $b))
1905-
(global $a1 (ref (exact $a)) (struct.new $a (global.get $b1)))
1905+
(global $a1 (ref (exact $a)) (struct.new_desc $a (global.get $b1)))
19061906

19071907
(func $assert-eq-i32 (param i32 i32)
19081908
(if

proposals/custom-descriptors/ref_cast_desc.wast

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -497,13 +497,13 @@
497497
(global $b2-exact (ref null (exact $b)) (struct.new $b))
498498
(global $b1 (ref null $b) (global.get $b1-exact))
499499
(global $b2 (ref null $b) (global.get $b2-exact))
500-
(global $a1 (ref null $a) (struct.new $a (global.get $b1-exact)))
500+
(global $a1 (ref null $a) (struct.new_desc $a (global.get $b1-exact)))
501501

502502
(global $d1-exact (ref null (exact $d)) (struct.new $d))
503503
(global $d2-exact (ref null (exact $d)) (struct.new $d))
504504
(global $d1 (ref null $d) (global.get $d1-exact))
505505
(global $d2 (ref null $d) (global.get $d2-exact))
506-
(global $c1 (ref null $c) (struct.new $c (global.get $d1-exact)))
506+
(global $c1 (ref null $c) (struct.new_desc $c (global.get $d1-exact)))
507507

508508
(global $c1-as-a (ref null $a) (global.get $c1))
509509

proposals/custom-descriptors/ref_get_desc.wast

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -305,20 +305,20 @@
305305
(global $b1 (ref (exact $b)) (struct.new $b (i32.const 1)))
306306
(global $b2 (ref (exact $b)) (struct.new $b (i32.const 2)))
307307

308-
(global $a1 (ref null $a) (struct.new $a (global.get $b1)))
309-
(global $a2 (ref null (exact $a)) (struct.new $a (global.get $b2)))
310-
(global $a3 (ref (exact $a)) (struct.new $a (struct.new $b (i32.const 3))))
308+
(global $a1 (ref null $a) (struct.new_desc $a (global.get $b1)))
309+
(global $a2 (ref null (exact $a)) (struct.new_desc $a (global.get $b2)))
310+
(global $a3 (ref (exact $a)) (struct.new_desc $a (struct.new $b (i32.const 3))))
311311

312312
(global $null (ref null $a) (ref.null none))
313313
(global $null-exact (ref null (exact $a)) (ref.null (exact $a)))
314314

315315
(func $null (result (ref null $a)) (ref.null none))
316316
(func $null-exact (result (ref null (exact $a))) (ref.null (exact $a)))
317317
(func $alloc-i32 (param i32) (result (ref (exact $a)))
318-
(struct.new $a (struct.new $b (local.get 0)))
318+
(struct.new_desc $a (struct.new $b (local.get 0)))
319319
)
320320
(func $alloc-desc (param (ref (exact $b))) (result (ref (exact $a)))
321-
(struct.new $a (local.get 0))
321+
(struct.new_desc $a (local.get 0))
322322
)
323323

324324
(func (export "null") (result anyref)
@@ -346,7 +346,7 @@
346346
(func (export "alloc-0") (result i32)
347347
(struct.get $b 0
348348
(ref.get_desc $a
349-
(struct.new $a
349+
(struct.new_desc $a
350350
(struct.new $b
351351
(i32.const 0)
352352
)
@@ -374,22 +374,22 @@
374374
(local.set 0 (struct.new_default $b))
375375
(ref.eq
376376
(local.get 0)
377-
(ref.get_desc $a (struct.new $a (local.get 0)))
377+
(ref.get_desc $a (struct.new_desc $a (local.get 0)))
378378
)
379379
)
380380
(func (export "not-equal") (result i32)
381381
(ref.eq
382382
(struct.new_default $b)
383-
(ref.get_desc $a (struct.new $a (struct.new_default $b)))
383+
(ref.get_desc $a (struct.new_desc $a (struct.new_default $b)))
384384
)
385385
)
386386
(func (export "chain-equal") (result i32)
387387
(local $three (ref null (exact $three)))
388388
(local $two (ref null (exact $two)))
389389
(local $one (ref null (exact $one)))
390390
(local.set $three (struct.new $three))
391-
(local.set $two (struct.new $two (local.get $three)))
392-
(local.set $one (struct.new $one (local.get $two)))
391+
(local.set $two (struct.new_desc $two (local.get $three)))
392+
(local.set $one (struct.new_desc $one (local.get $two)))
393393
(ref.eq
394394
(local.get $three)
395395
(ref.get_desc $two (ref.get_desc $one (local.get $one)))
@@ -426,7 +426,7 @@
426426
(global (export "b") (ref null (exact $b)) (struct.new $b))
427427

428428
(func (export "make-a") (result (ref null $a))
429-
(struct.new $a (global.get 0))
429+
(struct.new_desc $a (global.get 0))
430430
)
431431

432432
(func (export "check-eq") (param (ref null $a)) (result i32)
@@ -453,11 +453,11 @@
453453
)
454454

455455
(func (export "imported-check-equal") (result i32)
456-
(call $check-eq (struct.new $a (global.get $b)))
456+
(call $check-eq (struct.new_desc $a (global.get $b)))
457457
)
458458

459459
(func (export "imported-check-not-equal") (result i32)
460-
(call $check-eq (struct.new $a (struct.new $b)))
460+
(call $check-eq (struct.new_desc $a (struct.new $b)))
461461
)
462462
)
463463

0 commit comments

Comments
 (0)