Skip to content

Commit

Permalink
[spec] resume_throw should accept multiple handlers (WebAssembly#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan-Liang authored Aug 2, 2024
1 parent e7f1553 commit 5d57824
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions proposals/continuations/Overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,19 @@ Based on [typed reference proposal](https://github.com/WebAssembly/function-refe
- and `(label $l : [te1'* (ref null? $ct')])*`
- and `([te1*] <: [te1'*])*`
- and `($ct' = cont $ft')*`
- and `$ft' = [t1'*] -> [t2'*]`
- and `($ft' = [t1'*] -> [t2'*])*`
- and `([te2*] -> [t2*] <: [t1'*] -> [t2'*])*`

* `resume_throw <typeidx> <tagidx> (tag <tagidx> <labelidx>)` aborts a continuation
- `resume_throw $ct $e (tag $t $l): [te* (ref null? $ct)] -> [t2*]`
* `resume_throw <typeidx> <tagidx> (tag <tagidx> <labelidx>)*` aborts a continuation
- `resume_throw $ct $e (tag $t $l)*: [te* (ref null? $ct)] -> [t2*]`
- iff `(tag $e : [te*] -> [])`
- and `$ct = cont $ft`
- and `$ft = [t1*] -> [t2*]`
- and `(tag $t : [te1*] -> [te2*])*`
- and `(label $l : [te1'* (ref null? $ct')])*`
- and `([te1*] <: [te1'*])*`
- and `($ct' = cont $ft')*`
- and `$ft' = [t1'*] -> [t2'*]`
- and `($ft' = [t1'*] -> [t2'*])*`
- and `([te2*] -> [t2*] <: [t1'*] -> [t2'*])*`

* `barrier <blocktype> <instr>* end` blocks suspension
Expand Down

0 comments on commit 5d57824

Please sign in to comment.