* fix finding python path which only has python3.

* fix #1246, arm host issue.

* skip assembler tests on non-x86 host.

* update macro of dummy value.

* fix MSVC macro.

* update dummy array value macro.

* restore to original qemu code.
This commit is contained in:
Chen Huitao
2020-05-18 19:57:44 +08:00
committed by GitHub
parent 08240d5453
commit 2c66acf4ee
7 changed files with 29 additions and 6 deletions

View File

@@ -2378,8 +2378,10 @@ static int tcg_reg_alloc_call(TCGContext *s, const TCGOpDef *def,
flags = args[nb_oargs + nb_iargs + 1];
nb_regs = ARRAY_SIZE(tcg_target_call_iarg_regs);
#if TCG_TARGET_REG_BITS == 32
#ifdef _UC_MSVC_ARRAY_DUMMY
// do this because msvc cannot have arrays with 0 entries.
/* ref: tcg/i386/tcg-target.c: tcg_target_call_iarg_regs,
it is added a dummy value, set back to 0. */
nb_regs = 0;
#endif
if (nb_regs > nb_params) {