Markus Armbruster a0efbf1660 range: Eliminate direct Range member access
Users of struct Range mess liberally with its members, which makes
refactoring hard.  Create a set of methods, and convert all users to
call them instead of accessing members.  The methods have carefully
worded contracts, and use assertions to check them.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2016-07-04 16:49:33 +03:00
..
2016-07-01 14:38:54 +02:00
2016-06-30 19:00:02 +01:00
2016-06-29 19:14:48 +01:00
2016-06-29 19:14:48 +01:00
2016-07-04 14:50:58 +03:00
2016-06-17 16:33:48 +10:00
2016-05-29 09:11:10 +02:00
2016-06-14 15:59:13 +01:00
2016-06-29 19:14:48 +01:00
2016-06-29 14:03:46 +02:00
2016-05-18 15:04:27 +03:00
2016-06-07 18:02:48 +03:00
2016-06-29 14:03:48 +02:00
2016-05-29 09:11:10 +02:00
2016-06-24 05:13:57 +03:00
2016-06-29 19:14:48 +01:00
2016-07-04 14:50:01 +03:00
2016-01-29 15:07:25 +00:00
2016-06-29 19:14:48 +01:00
2016-06-20 22:30:34 +01:00
2016-06-24 05:13:57 +03:00
2016-05-19 16:42:29 +02:00
2016-06-22 12:53:26 +02:00
2016-06-22 11:28:42 +01:00
2015-12-22 18:39:19 +02:00