commit | 1d393fa2d1c16021c840e5d37f7ff74341b7c884 | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Sun Jan 01 21:15:42 2012 +0200 |
committer | Avi Kivity <avi@redhat.com> | Wed Jan 04 13:34:49 2012 +0200 |
tree | 2209ca1ed0e7db577731df5d6390b22a53dfe524 | |
parent | 2774c6d0ae20d32d75f77e7ed063ddbb854ca4c5 [diff] |
Avoid range comparisons on io index types The code sometimes uses range comparisons on io indexes (e.g. index =< IO_MEM_ROM). Avoid these as they make moving to objects harder. Signed-off-by: Avi Kivity <avi@redhat.com> Reviewed-by: Richard Henderson <rth@twiddle.net>