tcg: Add TCGV_UNUSED_PTR, TCGV_IS_UNUSED_PTR, TCGV_EQUAL_PTR
authorPeter Maydell <peter.maydell@linaro.org>
Sat, 8 Feb 2014 14:46:55 +0000 (14:46 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Sat, 8 Feb 2014 14:46:55 +0000 (14:46 +0000)
commitc1de788ab9584e9629d6e9004d8cddd428b6cbe4
tree600cf2c97a011fae9095b52fb7066f2f56d6892e
parent0173a00521e3d66afbeb0d0b19e78ac68095b7e7
tcg: Add TCGV_UNUSED_PTR, TCGV_IS_UNUSED_PTR, TCGV_EQUAL_PTR

We have macros for marking TCGv values as unused, checking if they
are unused and comparing them to each other. However these only exist
for TCGv_i32 and TCGv_i64; add them for TCGv_ptr as well.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
tcg/tcg.h