On 2/9/21 10:27 AM, Alex Bennée wrote: > /* Refill decrementer and continue execution. */ > - insns_left = MIN(0xffff, cpu->icount_budget); > + insns_left = MIN(CF_COUNT_MASK, cpu->icount_budget); ... > + g_assert(insns_left < CF_COUNT_MASK);
Why both the MIN and the assert? r~