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)
commited34ebe043d3e0c5ee1a95af87d6930ec1d88448
tree7a918abb6221696b0cc6f083064e5c769fb2702d
parentc7ebc3748d479d69a34cc96c7db08fcc88a2cf5b
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