-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
only the control flow structure for failed suspend16 test
- Loading branch information
Showing
2 changed files
with
51 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
(module | ||
(type (;0;) (func)) | ||
(type (;1;) (cont 0)) | ||
(type (;2;) (func)) | ||
(type (;3;) (cont 2)) | ||
(type (;4;) (func (param i32))) | ||
(import "spectest" "print_i32" (func (;0;) (type 4))) | ||
(tag (;0;) (type 0)) | ||
(export "main" (func 3)) | ||
(start 3) | ||
(elem (;0;) declare func 1) | ||
(elem (;1;) declare func 2) | ||
(func (;1;) (type 0) | ||
i32.const 111 | ||
call 0 | ||
suspend 0 | ||
i32.const 333 | ||
call 0 | ||
) | ||
(func (;2;) (type 0) | ||
i32.const 0 | ||
call 0 | ||
ref.func 1 | ||
cont.new 1 | ||
resume 1 | ||
i32.const 444 | ||
call 0 | ||
return | ||
) | ||
(func (;3;) (type 0) | ||
block (result (ref null 3)) ;; label = @1 | ||
ref.func 2 | ||
cont.new 1 | ||
resume 1 (on 0 0 (;@1;)) | ||
return | ||
end | ||
i32.const 222 | ||
call 0 | ||
resume 3 | ||
i32.const 555 | ||
call 0 | ||
) | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters