commit | 52851b7e3d816502b8ae4e8353f31fd9ee801509 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Mon Jan 26 12:12:22 2015 +0100 |
committer | Michael Tokarev <mjt@tls.msk.ru> | Tue Feb 10 09:27:20 2015 +0300 |
tree | df8d97a8a89bc441f5304ba5b198470686a2191e | |
parent | a7fa2e9783ee957635d23ddab151a8be97df5b2a [diff] |
cpu-exec: simplify icount code Use MIN instead of an "if" statement. Move "tb" assignment where the value is actually used. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>