mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-03 17:45:47 +00:00
tcg: Remove unnecessary MSVC ifdef
All relevant arrays have at least one member in them now, making this unnecessary.
This commit is contained in:
parent
4199ce83bb
commit
cc3d618e61
|
@ -2760,10 +2760,6 @@ static void tcg_reg_alloc_call(TCGContext *s, TCGOp *op)
|
||||||
flags = op->args[nb_oargs + nb_iargs + 1];
|
flags = op->args[nb_oargs + nb_iargs + 1];
|
||||||
|
|
||||||
nb_regs = ARRAY_SIZE(tcg_target_call_iarg_regs);
|
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) {
|
if (nb_regs > nb_iargs) {
|
||||||
nb_regs = nb_iargs;
|
nb_regs = nb_iargs;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue