Skip to content

Commit

Permalink
Fix amd64 Stack_check signature
Browse files Browse the repository at this point in the history
  • Loading branch information
mshinwell committed Apr 15, 2024
1 parent a8daa4a commit 96b00c8
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions backend/amd64/stack_check.ml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,12 @@ let initial_stack_offset ~num_stack_slots:_ ~contains_calls:_ =

(* includes return address *)
let frame_size :
stack_offset:int -> frame_required:bool -> num_stack_slots:int array -> int
=
fun ~stack_offset ~frame_required ~num_stack_slots ->
stack_offset:int ->
frame_required:bool ->
num_stack_slots:int array ->
contains_calls:bool ->
int =
fun ~stack_offset ~frame_required ~num_stack_slots ~contains_calls:_ ->
if frame_required
then (
if num_stack_slots.(2) > 0 then Arch.assert_simd_enabled ();
Expand Down

0 comments on commit 96b00c8

Please sign in to comment.