Skip to content

Commit 83516f8

Browse files
authored
flambda-backend: Apply node created for probe should not be annotated as tailcall (#76)
1 parent bc430cb commit 83516f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lambda/translcore.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ and transl_exp0 ~in_new_scope ~scopes e =
655655
{ ap_func = Lvar funcid;
656656
ap_args = List.map (fun id -> Lvar id) arg_idents;
657657
ap_loc = of_location e.exp_loc ~scopes;
658-
ap_tailcall = Tailcall_expectation false;
658+
ap_tailcall = Default_tailcall;
659659
ap_inlined = Never_inline;
660660
ap_specialised = Always_specialise;
661661
ap_probe = Some {name};

0 commit comments

Comments
 (0)