]> git.proxmox.com Git - qemu.git/commit - tcg/tcg-op.h
tcg: If DEBUG_TCGV, distinguish TCGv_ptr from TCGv_i32/TCGv_i64
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 27 May 2011 12:12:13 +0000 (13:12 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Fri, 3 Jun 2011 16:26:21 +0000 (18:26 +0200)
commitebecf36381ad70a5490794404f23b2802840fdf6
tree7a918abb6221696b0cc6f083064e5c769fb2702d
parent6bd4b08ab236d59eb2cec92a52efb9c7df2388ac
tcg: If DEBUG_TCGV, distinguish TCGv_ptr from TCGv_i32/TCGv_i64

When compiling with DEBUG_TCGV enabled, make the TCGv_ptr type distinct
from TCGv_i32/TCGv_i64. This means that using an i32 or i64 TCG op to
manipulate a TCGv_ptr will always be detected at compile time, rather
than only if compiling on a host system with the other word size.

NB: the tcg_add_ptr and tcg_sub_ptr macros have been removed as they
were not used anywhere.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
tcg/tcg-op.h
tcg/tcg.h