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; }