Skip to content

Commit

Permalink
GPR#213: Simplif.emit_tail_infos: recurse on function body in an appl…
Browse files Browse the repository at this point in the history
…ication

(Frédéric Bour)

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16253 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
  • Loading branch information
gasche committed Jul 25, 2015
1 parent d939804 commit 454538a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bytecomp/simplif.ml
Expand Up @@ -530,6 +530,7 @@ let rec emit_tail_infos is_tail lambda =
&& not is_tail
&& Warnings.is_active Warnings.Expect_tailcall
then Location.prerr_warning loc Warnings.Expect_tailcall;
emit_tail_infos false func;
list_emit_tail_infos false l;
if !Clflags.annotations then
Stypes.record (Stypes.An_call (loc, call_kind l));
Expand Down

0 comments on commit 454538a

Please sign in to comment.