cpu-exec: simplify icount code
Use MIN instead of an "if" statement. Move "tb" assignment where the value is actually used. Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com> Signed-off-by: NMichael Tokarev <mjt@tls.msk.ru>
Showing
想要评论请 注册 或 登录