File tree 2 files changed +9
-3
lines changed
2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -968,8 +968,14 @@ module BR = Branch_relaxation.Make (struct
968
968
if String. equal func.sym_name ! function_name then 1 else epilogue_size ()
969
969
| Lcall_op
970
970
(Lextcall
971
- { alloc; stack_ofs; func = _; ty_res = _; ty_args = _; returns = _ })
972
- ->
971
+ { alloc;
972
+ stack_ofs;
973
+ stack_align = _;
974
+ func = _;
975
+ ty_res = _;
976
+ ty_args = _;
977
+ returns = _
978
+ }) ->
973
979
if Config. runtime5 && stack_ofs > 0 then 5 else if alloc then 3 else 5
974
980
| Lop (Stackoffset _ ) -> 2
975
981
| Lop (Load { memory_chunk; addressing_mode; is_atomic; mutability = _ } ) ->
Original file line number Diff line number Diff line change @@ -224,7 +224,7 @@ let external_calling_conventions
224
224
loc.(i) < - [| loc_float32 last_float make_stack float ofs |]
225
225
end )
226
226
ty_args;
227
- (loc, Misc. align ! ofs 16 ) (* keep stack 16-aligned *)
227
+ (loc, Misc. align ! ofs 16 , Cmm. Align_16 ) (* keep stack 16-aligned *)
228
228
229
229
let loc_external_arguments ty_args =
230
230
external_calling_conventions 0 7 100 107 outgoing ty_args
You can’t perform that action at this time.
0 commit comments