Paolo Bonzini <pbonz...@redhat.com> writes: > On 05/04/2017 15:33, Pavel Dovgalyuk wrote: >>> + >>> + /* Time can only go forward */ >>> + assert(diff >= 0); >>> + >>> if (diff > 0) { >> This "if" is useless then. >> > > It isn't, "diff == 0" can happen.
In my previous patchset I actually output-ed a EVENT_INSTRUCTION with a zero diff for the negative case although it does seem redundant to output that if we can avoid it? -- Alex Bennée