Skip to content

Commit

Permalink
small refacto
Browse files Browse the repository at this point in the history
  • Loading branch information
zapashcanon committed Jan 18, 2024
1 parent c163de1 commit 61a6813
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types.ml
Original file line number Diff line number Diff line change
Expand Up @@ -570,8 +570,8 @@ let rec pp_instr fmt = function
| Br_if id -> pp fmt "br_if %a" pp_indice id
| Br_table (ids, id) ->
pp fmt "br_table %a %a"
(pp_list ~pp_sep:pp_space pp_indice)
(Array.to_list ids) pp_indice id
(pp_array ~pp_sep:pp_space pp_indice)
ids pp_indice id
| Return -> pp fmt "return"
| Return_call id -> pp fmt "return_call %a" pp_indice id
| Return_call_indirect (tbl_id, ty_id) ->
Expand Down

0 comments on commit 61a6813

Please sign in to comment.