Skip to content

Commit

Permalink
Define size_domainstate_args as 64 * size_int
Browse files Browse the repository at this point in the history
Works both in 32 and 64 bits.
  • Loading branch information
xavierleroy committed Sep 1, 2021
1 parent 3499df5 commit 304da3c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion asmcomp/amd64/proc.ml
Expand Up @@ -155,7 +155,7 @@ let word_addressed = false

(* Calling conventions *)

let size_domainstate_args = 64 * 8
let size_domainstate_args = 64 * size_int

let calling_conventions first_int last_int first_float last_float
make_stack first_stack
Expand Down
2 changes: 1 addition & 1 deletion asmcomp/arm/proc.ml
Expand Up @@ -109,7 +109,7 @@ let stack_slot slot ty =

(* Calling conventions *)

let size_domainstate_args = 64 * 8
let size_domainstate_args = 64 * size_int

let loc_int last_int make_stack int ofs =
if !int <= last_int then begin
Expand Down
2 changes: 1 addition & 1 deletion asmcomp/arm64/proc.ml
Expand Up @@ -107,7 +107,7 @@ let stack_slot slot ty =

(* Calling conventions *)

let size_domainstate_args = 64 * 8
let size_domainstate_args = 64 * size_int

let loc_int last_int make_stack int ofs =
if !int <= last_int then begin
Expand Down
2 changes: 1 addition & 1 deletion asmcomp/i386/proc.ml
Expand Up @@ -101,7 +101,7 @@ let word_addressed = false

(* Calling conventions *)

let size_domainstate_args = 64 * 4
let size_domainstate_args = 64 * size_int

let calling_conventions first_int last_int first_float last_float make_stack
arg =
Expand Down
2 changes: 1 addition & 1 deletion asmcomp/riscv/proc.ml
Expand Up @@ -122,7 +122,7 @@ let stack_slot slot ty =

(* Calling conventions *)

let size_domainstate_args = 64 * 8
let size_domainstate_args = 64 * size_int

let calling_conventions
first_int last_int first_float last_float make_stack first_stack arg =
Expand Down
2 changes: 1 addition & 1 deletion asmcomp/s390x/proc.ml
Expand Up @@ -96,7 +96,7 @@ let stack_slot slot ty =

(* Calling conventions *)

let size_domainstate_args = 64 * 8
let size_domainstate_args = 64 * size_int

let calling_conventions
first_int last_int first_float last_float make_stack stack_ofs arg =
Expand Down

0 comments on commit 304da3c

Please sign in to comment.