Skip to content

Commit

Permalink
Classic inlining and continuations continued (exceptions) (ocaml-flam…
Browse files Browse the repository at this point in the history
  • Loading branch information
lthls authored Jul 15, 2022
1 parent 73e0a49 commit 2bb1959
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions middle_end/flambda2/from_lambda/closure_conversion.ml
Original file line number Diff line number Diff line change
Expand Up @@ -912,6 +912,11 @@ let close_exact_or_unknown_apply acc env
| Not_inlinable -> Expr_with_acc.create_apply acc apply
| Inlinable func_desc ->
let acc = Acc.mark_continuation_as_untrackable continuation acc in
let acc =
Acc.mark_continuation_as_untrackable
(Exn_continuation.exn_handler apply_exn_continuation)
acc
in
Inlining.inline acc ~apply ~apply_depth:(Env.current_depth env) ~func_desc
else Expr_with_acc.create_apply acc apply

Expand Down

0 comments on commit 2bb1959

Please sign in to comment.