OSDN Git Service

tcg: Use appropriate types in tcg_reg_alloc_call
authorRichard Henderson <rth@twiddle.net>
Wed, 21 Aug 2013 00:12:38 +0000 (17:12 -0700)
committerRichard Henderson <rth@twiddle.net>
Mon, 2 Sep 2013 16:08:30 +0000 (09:08 -0700)
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Richard Henderson <rth@twiddle.net>
tcg/tcg.c

index 7ba9208..99f3b2c 100644 (file)
--- a/tcg/tcg.c
+++ b/tcg/tcg.c
@@ -2070,7 +2070,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;