summaryrefslogtreecommitdiffstats
path: root/tcg/arm
diff options
context:
space:
mode:
authorRichard Henderson2013-06-04 18:53:19 +0200
committerRichard Henderson2013-06-05 14:54:40 +0200
commit56bbc2f967ce185fa1c5c39e1aeb5b68b26242e9 (patch)
tree7c5ce84de7ed288b944b33eb02005a72c9d89bac /tcg/arm
parenttcg: Use QEMU_BUILD_BUG_ON for CPU_TLB_ENTRY_BITS (diff)
downloadqemu-56bbc2f967ce185fa1c5c39e1aeb5b68b26242e9.tar.gz
qemu-56bbc2f967ce185fa1c5c39e1aeb5b68b26242e9.tar.xz
qemu-56bbc2f967ce185fa1c5c39e1aeb5b68b26242e9.zip
tcg: Remove redundant tcg_target_init checks
We've got a compile-time check for the condition in exec/cpu-defs.h. Reviewed-by: Andreas Färber <afaerber@suse.de> Reviewed-by: liguang <lig.fnst@cn.fujitsu.com> Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'tcg/arm')
-rw-r--r--tcg/arm/tcg-target.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/tcg/arm/tcg-target.c b/tcg/arm/tcg-target.c
index 3d434124a0..6be736b75e 100644
--- a/tcg/arm/tcg-target.c
+++ b/tcg/arm/tcg-target.c
@@ -2053,12 +2053,6 @@ static const TCGTargetOpDef arm_op_defs[] = {
static void tcg_target_init(TCGContext *s)
{
-#if !defined(CONFIG_USER_ONLY)
- /* fail safe */
- if ((1 << CPU_TLB_ENTRY_BITS) != sizeof(CPUTLBEntry))
- tcg_abort();
-#endif
-
tcg_regset_set32(tcg_target_available_regs[TCG_TYPE_I32], 0, 0xffff);
tcg_regset_set32(tcg_target_call_clobber_regs, 0,
(1 << TCG_REG_R0) |