summaryrefslogtreecommitdiff
path: root/include/exec
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2013-09-09 08:26:49 -0700
committerRichard Henderson <rth@twiddle.net>2014-04-28 11:06:34 -0700
commit71b926992e0e0a0da078873480c6fc1dd65af6fc (patch)
tree8fcb8b37e95f6a35e630bd0514b9c395d627aa00 /include/exec
parente2da502c003b9a91b4aea7684959192bd07c1f1d (diff)
downloadqemu-71b926992e0e0a0da078873480c6fc1dd65af6fc.tar.gz
qemu-71b926992e0e0a0da078873480c6fc1dd65af6fc.tar.bz2
qemu-71b926992e0e0a0da078873480c6fc1dd65af6fc.zip
tcg: Fix missed pointer size != TCG_TARGET_REG_BITS changes
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'include/exec')
-rw-r--r--include/exec/def-helper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/exec/def-helper.h b/include/exec/def-helper.h
index 73d51f9cf5..255b58bb03 100644
--- a/include/exec/def-helper.h
+++ b/include/exec/def-helper.h
@@ -84,7 +84,7 @@
#define dh_is_64bit_noreturn 0
#define dh_is_64bit_i32 0
#define dh_is_64bit_i64 1
-#define dh_is_64bit_ptr (TCG_TARGET_REG_BITS == 64)
+#define dh_is_64bit_ptr (sizeof(void *) == 8)
#define dh_is_64bit(t) glue(dh_is_64bit_, dh_alias(t))
#define dh_is_signed_void 0