Skip to content

Commit

Permalink
Update interpreter/syntax/free.ml
Browse files Browse the repository at this point in the history
Co-authored-by: Andreas Rossberg <[email protected]>
  • Loading branch information
dhil and rossberg authored Feb 16, 2021
1 parent 41d0c6e commit f81d04a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interpreter/syntax/free.ml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ let rec instr (e : instr) =
memories zero
| MemoryInit x -> memories zero ++ datas (idx x)
| DataDrop x -> datas (idx x)
| Try (_, es1, es2) -> block es1 ++ block es2
| Try (bt, es1, es2) -> block_type bt ++ block es1 ++ block es2
| Throw -> empty

and block (es : instr list) =
Expand Down

0 comments on commit f81d04a

Please sign in to comment.