Skip to content

Commit a9758b8

Browse files
authored
[threads][NFC] Do not include cont in shared types test (#6759)
Once the fuzzer is updated to be able to handle initial contents with shared types, it still will not be able to handle initial contents with continuation types. To avoid future issues, remove continuations from lit/basic/shared-types.wast.
1 parent ddf919b commit a9758b8

1 file changed

Lines changed: 11 additions & 19 deletions

File tree

test/lit/basic/shared-types.wast

Lines changed: 11 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@
2121
(type $func (shared (func)))
2222
;; CHECK: (type $array (shared (array i8)))
2323
(type $array (shared (array i8)))
24-
;; CHECK: (type $cont (shared (cont $func)))
25-
(type $cont (shared (cont $func)))
2624
)
2725

2826
;; CHECK: (func $use-types (type $0)
@@ -32,7 +30,6 @@
3230
;; CHECK-NEXT: (local $3 (ref $bot))
3331
;; CHECK-NEXT: (local $4 (ref $func))
3432
;; CHECK-NEXT: (local $5 (ref $array))
35-
;; CHECK-NEXT: (local $6 (ref $cont))
3633
;; CHECK-NEXT: (nop)
3734
;; CHECK-NEXT: )
3835
(func $use-types
@@ -42,31 +39,27 @@
4239
(local (ref $bot))
4340
(local (ref $func))
4441
(local (ref $array))
45-
(local (ref $cont))
4642
)
4743

4844
;; CHECK: (func $use-basic-types (type $0)
4945
;; CHECK-NEXT: (local $0 (ref (shared extern)))
5046
;; CHECK-NEXT: (local $1 (ref (shared func)))
51-
;; CHECK-NEXT: (local $2 (ref (shared cont)))
52-
;; CHECK-NEXT: (local $3 (ref (shared any)))
53-
;; CHECK-NEXT: (local $4 (ref (shared eq)))
54-
;; CHECK-NEXT: (local $5 (ref (shared i31)))
55-
;; CHECK-NEXT: (local $6 (ref (shared struct)))
56-
;; CHECK-NEXT: (local $7 (ref (shared array)))
57-
;; CHECK-NEXT: (local $8 (ref (shared exn)))
58-
;; CHECK-NEXT: (local $9 (ref (shared string)))
59-
;; CHECK-NEXT: (local $10 (ref (shared none)))
60-
;; CHECK-NEXT: (local $11 (ref (shared noextern)))
61-
;; CHECK-NEXT: (local $12 (ref (shared nofunc)))
62-
;; CHECK-NEXT: (local $13 (ref (shared nocont)))
63-
;; CHECK-NEXT: (local $14 (ref (shared noexn)))
47+
;; CHECK-NEXT: (local $2 (ref (shared any)))
48+
;; CHECK-NEXT: (local $3 (ref (shared eq)))
49+
;; CHECK-NEXT: (local $4 (ref (shared i31)))
50+
;; CHECK-NEXT: (local $5 (ref (shared struct)))
51+
;; CHECK-NEXT: (local $6 (ref (shared array)))
52+
;; CHECK-NEXT: (local $7 (ref (shared exn)))
53+
;; CHECK-NEXT: (local $8 (ref (shared string)))
54+
;; CHECK-NEXT: (local $9 (ref (shared none)))
55+
;; CHECK-NEXT: (local $10 (ref (shared noextern)))
56+
;; CHECK-NEXT: (local $11 (ref (shared nofunc)))
57+
;; CHECK-NEXT: (local $12 (ref (shared noexn)))
6458
;; CHECK-NEXT: (nop)
6559
;; CHECK-NEXT: )
6660
(func $use-basic-types
6761
(local (ref (shared extern)))
6862
(local (ref (shared func)))
69-
(local (ref (shared cont)))
7063
(local (ref (shared any)))
7164
(local (ref (shared eq)))
7265
(local (ref (shared i31)))
@@ -77,7 +70,6 @@
7770
(local (ref (shared none)))
7871
(local (ref (shared noextern)))
7972
(local (ref (shared nofunc)))
80-
(local (ref (shared nocont)))
8173
(local (ref (shared noexn)))
8274
)
8375
)

0 commit comments

Comments
 (0)