aboutsummaryrefslogtreecommitdiff
path: root/target/m68k
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2017-10-19 20:27:27 -0700
committerRichard Henderson <richard.henderson@linaro.org>2017-10-24 21:50:15 +0200
commit11f4e8f8bfaa2caaab24bef6bbbb8a0205015119 (patch)
treecaba868b4e1e6ad63f86de37e9ade1754ee3063b /target/m68k
parentdc41aa7d34989b552efe712ffe184236216f960b (diff)
downloadqemu-11f4e8f8bfaa2caaab24bef6bbbb8a0205015119.zip
qemu-11f4e8f8bfaa2caaab24bef6bbbb8a0205015119.tar.gz
qemu-11f4e8f8bfaa2caaab24bef6bbbb8a0205015119.tar.bz2
tcg: Remove TCGV_EQUAL*
When we used structures for TCGv_*, we needed a macro in order to perform a comparison. Now that we use pointers, this is just clutter. Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Emilio G. Cota <cota@braap.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/m68k')
-rw-r--r--target/m68k/translate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/m68k/translate.c b/target/m68k/translate.c
index d738f32..63b1552 100644
--- a/target/m68k/translate.c
+++ b/target/m68k/translate.c
@@ -58,7 +58,7 @@ static TCGv_i64 cpu_macc[4];
#define QREG_SP get_areg(s, 7)
static TCGv NULL_QREG;
-#define IS_NULL_QREG(t) (TCGV_EQUAL(t, NULL_QREG))
+#define IS_NULL_QREG(t) (t == NULL_QREG)
/* Used to distinguish stores from bad addressing modes. */
static TCGv store_dummy;