We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcf6e19 commit b344bfeCopy full SHA for b344bfe
compiler/lib/inline.ml
@@ -577,7 +577,10 @@ let rec inline_recursively ~context ~info p params (pc, _) args =
577
considers all possible values of [f], before the
578
current function is inlined, not just the one
579
called after inlining. We have checked in
580
- [relevant_arguments] that the call was exact. *)
+ [relevant_arguments] that the call was exact.
581
+ We have also checked that it made sense to inline
582
+ this call. In particular, this function is
583
+ applied only once. *)
584
let f = Var.Map.find f subst in
585
inline_function ~context i x f args rem state
586
| _ -> i :: rem, state)
0 commit comments