Skip to content

Commit

Permalink
Adapt to Bir changes in PR #184
Browse files Browse the repository at this point in the history
  • Loading branch information
mdurero committed Sep 21, 2022
1 parent 8effc0c commit b4eb0ef
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/mlang/backend_compilers/bir_to_ocaml.ml
Original file line number Diff line number Diff line change
Expand Up @@ -270,10 +270,7 @@ let generate_mpp_function (program : Bir.program) (oc : Format.formatter)
else Format.fprintf oc "%a@]" (generate_stmts program) mppf_stmts

let generate_mpp_functions (oc : Format.formatter) (program : Bir.program) =
let functions =
Bir.FunctionMap.bindings
(Bir_interface.context_agnostic_mpp_functions program)
in
let functions = Bir.FunctionMap.bindings program.Bir.mpp_functions in
let function_names, _ = List.split functions in
let pp_print_mpp_functions fmt function_names =
Format.pp_print_list ~pp_sep:pp_mpp_function_separator
Expand Down

0 comments on commit b4eb0ef

Please sign in to comment.