diff mbox

[13/18] tcg: Use appropriate types in tcg_reg_alloc_call

Message ID 1377190729-14008-14-git-send-email-rth@twiddle.net
State New
Headers show

Commit Message

Richard Henderson Aug. 22, 2013, 4:58 p.m. UTC
Signed-off-by: Richard Henderson <rth@twiddle.net>
---
 tcg/tcg.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

Aurelien Jarno Aug. 29, 2013, 4:44 p.m. UTC | #1
On Thu, Aug 22, 2013 at 09:58:44AM -0700, Richard Henderson wrote:
> Signed-off-by: Richard Henderson <rth@twiddle.net>
> ---
>  tcg/tcg.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/tcg/tcg.c b/tcg/tcg.c
> index 1d7cdaf..72c064c 100644
> --- a/tcg/tcg.c
> +++ b/tcg/tcg.c
> @@ -2037,7 +2037,9 @@ static int tcg_reg_alloc_call(TCGContext *s, const TCGOpDef *def,
>      int nb_iargs, nb_oargs, flags, nb_regs, i, reg, nb_params;
>      TCGArg arg, func_arg;
>      TCGTemp *ts;
> -    tcg_target_long stack_offset, call_stack_size, func_addr;
> +    intptr_t stack_offset;
> +    size_t call_stack_size;
> +    uintptr_t func_addr;
>      int const_func_arg, allocate_args;
>      TCGRegSet allocated_regs;
>      const TCGArgConstraint *arg_ct;

Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
diff mbox

Patch

diff --git a/tcg/tcg.c b/tcg/tcg.c
index 1d7cdaf..72c064c 100644
--- a/tcg/tcg.c
+++ b/tcg/tcg.c
@@ -2037,7 +2037,9 @@  static int tcg_reg_alloc_call(TCGContext *s, const TCGOpDef *def,
     int nb_iargs, nb_oargs, flags, nb_regs, i, reg, nb_params;
     TCGArg arg, func_arg;
     TCGTemp *ts;
-    tcg_target_long stack_offset, call_stack_size, func_addr;
+    intptr_t stack_offset;
+    size_t call_stack_size;
+    uintptr_t func_addr;
     int const_func_arg, allocate_args;
     TCGRegSet allocated_regs;
     const TCGArgConstraint *arg_ct;