From cc3d618e616a5ccfccdb67e632b6aa69af721682 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 6 Oct 2018 05:08:16 -0400 Subject: [PATCH] tcg: Remove unnecessary MSVC ifdef All relevant arrays have at least one member in them now, making this unnecessary. --- qemu/tcg/tcg.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/qemu/tcg/tcg.c b/qemu/tcg/tcg.c index 92b425ae..bb894947 100644 --- a/qemu/tcg/tcg.c +++ b/qemu/tcg/tcg.c @@ -2760,10 +2760,6 @@ static void tcg_reg_alloc_call(TCGContext *s, TCGOp *op) flags = op->args[nb_oargs + nb_iargs + 1]; nb_regs = ARRAY_SIZE(tcg_target_call_iarg_regs); -#if TCG_TARGET_REG_BITS == 32 - // do this because msvc cannot have arrays with 0 entries. - nb_regs = 0; -#endif if (nb_regs > nb_iargs) { nb_regs = nb_iargs; }