On 4/16/19 7:47 AM, Eric Blake wrote: > On 4/16/19 3:31 AM, Richard Henderson wrote: >> If a TB generates too much code, try again with fewer insns. >> >> Fixes: https://bugs.launchpad.net/bugs/1824853 >> Signed-off-by: Richard Henderson <richard.hender...@linaro.org> >> --- >> accel/tcg/translate-all.c | 39 +++++++++++++++++++++++++++++++++------ >> tcg/tcg.c | 4 ++++ >> 2 files changed, 37 insertions(+), 6 deletions(-) >> > >> + * Try again with half as many insns as we attempted this time. >> + * If a single insn overflows, there's a bug somewhere... >> + */ >> + max_insns = tb->icount; >> +qemu_log("TB overflow: pc=%lx insns=%d\n", (unsigned long)pc, max_insns); > > Leftover debugging? Or should it be kept but properly indented?
Debugging that I thought I had not committed at all. That's annoying... r~