diff options
author | Richard Henderson <rth@twiddle.net> | 2013-08-20 14:35:34 -0700 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2013-09-02 09:08:29 -0700 |
commit | 04d5a1da70dfe1a3a5ac5b5a8e7a7b8136d3a985 (patch) | |
tree | 1e1e4f829b40d6aa602cdd7552f2e5d484f6f7d9 /tci.c | |
parent | b93949ef6a5dea2b22987f2aa3028068e751a7e4 (diff) | |
download | hqemu-04d5a1da70dfe1a3a5ac5b5a8e7a7b8136d3a985.zip hqemu-04d5a1da70dfe1a3a5ac5b5a8e7a7b8136d3a985.tar.gz |
tcg: Change tcg_qemu_tb_exec return to uintptr_t
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'tci.c')
-rw-r--r-- | tci.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -434,11 +434,11 @@ static bool tci_compare64(uint64_t u0, uint64_t u1, TCGCond condition) } /* Interpret pseudo code in tb. */ -tcg_target_ulong tcg_qemu_tb_exec(CPUArchState *env, uint8_t *tb_ptr) +uintptr_t tcg_qemu_tb_exec(CPUArchState *env, uint8_t *tb_ptr) { long tcg_temps[CPU_TEMP_BUF_NLONGS]; uintptr_t sp_value = (uintptr_t)(tcg_temps + CPU_TEMP_BUF_NLONGS); - tcg_target_ulong next_tb = 0; + uintptr_t next_tb = 0; tci_reg[TCG_AREG0] = (tcg_target_ulong)env; tci_reg[TCG_REG_CALL_STACK] = sp_value; |