Dmitry Vyukov 20c6855484 prog: refactor bitfields representation
All callers of BitfieldMiddle just want static size (0 for middle).
Make it so: Size for middle bitfields just returns 0. Removes lots of if's.
Introduce Type.UnitSize, which now holds the underlying type for bitfields.
This will be needed to fix #1542 b/c even if UnitSize=4 for last bitfield
Size can be anywhere from 0 to 4 (not necessary equal to UnitSize due to overlapping).
2019-12-19 19:32:45 +01:00
..
2018-07-08 22:52:24 +02:00
2018-07-08 22:52:24 +02:00
2018-08-26 05:01:08 +02:00
2018-08-26 05:01:08 +02:00
2018-08-26 05:01:08 +02:00
2018-08-26 05:01:08 +02:00
2019-01-24 16:49:38 +01:00
2019-11-29 10:45:42 +01:00
2019-12-01 11:03:27 +01:00
2019-11-29 10:45:42 +01:00
2019-11-29 10:45:42 +01:00
2019-12-01 11:03:27 +01:00
2019-12-01 11:03:27 +01:00
2019-12-02 14:44:04 +01:00
2019-12-02 14:44:04 +01:00
2019-12-01 19:51:52 +01:00
2019-12-02 14:44:04 +01:00
2019-03-27 14:31:07 +01:00
2019-03-27 14:31:07 +01:00
2019-03-27 14:31:07 +01:00
2019-03-27 14:31:07 +01:00
2019-03-27 14:31:07 +01:00
2019-12-18 12:00:12 +01:00
2019-12-18 12:00:12 +01:00
2019-12-18 12:00:12 +01:00
2019-12-18 12:00:12 +01:00
2019-12-01 11:03:27 +01:00
2019-01-24 16:49:38 +01:00
2019-12-02 14:44:04 +01:00
2019-02-12 18:34:25 +01:00
2019-02-12 18:34:25 +01:00
2019-02-12 18:34:25 +01:00
2019-02-12 18:34:25 +01:00
2019-02-12 18:34:25 +01:00
2018-05-03 15:53:13 +02:00
2019-12-19 19:32:45 +01:00
2019-12-19 19:32:45 +01:00
2019-10-15 14:13:41 +02:00
2019-12-02 14:44:04 +01:00
2019-07-16 10:08:43 +02:00
2019-07-16 10:08:43 +02:00
2019-07-16 10:08:43 +02:00
2019-01-25 16:10:00 +01:00
2019-10-25 13:41:12 +02:00
2019-10-25 13:41:12 +02:00
2019-10-25 13:41:12 +02:00
2019-10-25 13:41:12 +02:00
2019-10-25 13:41:12 +02:00
2019-01-24 16:49:38 +01:00
2019-01-09 05:46:47 +01:00
2018-12-30 12:25:05 +01:00
2019-01-09 05:46:47 +01:00
2019-01-09 05:46:47 +01:00
2018-08-26 05:17:40 +02:00
2019-12-17 11:21:45 +01:00
2019-01-24 16:49:39 +01:00
2019-01-24 16:49:39 +01:00
2019-01-24 16:49:39 +01:00
2019-01-24 16:49:39 +01:00
2019-01-24 16:49:39 +01:00
2019-01-24 16:49:39 +01:00
2019-02-12 18:34:25 +01:00
2019-02-12 18:34:25 +01:00
2019-02-12 18:34:25 +01:00
2019-02-12 18:34:25 +01:00