Andrew Kelley
2f92d1a026
stage2: fixups for topolarity-comptime-memory-reinterp branch
...
* don't store `has_well_defined_layout` in memory.
* remove struct `hasWellDefinedLayout` logic. it's just
`layout != .Auto`. This means we only need one implementation, in
Type.
* fix some of the cases being wrong in `hasWellDefinedLayout`, such as
optional pointers.
* move `tag_ty_inferred` field into a position that makes it more
obvious how the struct layout will be done. Also we don't have a
compiler that intelligently moves fields around so this layout is
better.
* Sema: don't `resolveTypeLayout` in `zirCoerceResultPtr` unless
necessary.
* Rename `ComptimePtrLoadKit` `target` field to `pointee` to avoid
confusion with `target`.
2022-03-14 21:43:03 -07:00
..
2022-03-01 18:24:00 -07:00
2021-05-08 14:45:21 -07:00
2021-06-21 17:03:03 -07:00
2021-04-29 15:54:04 -07:00
2021-04-29 15:54:04 -07:00
2022-02-22 21:57:42 +01:00
2021-04-29 15:54:04 -07:00
2021-05-08 14:45:21 -07:00
2022-02-14 22:33:01 +01:00
2021-06-21 17:03:03 -07:00
2022-03-05 11:31:51 +01:00
2022-03-08 11:23:38 +02:00
2022-03-09 13:53:20 -07:00
2022-03-09 13:53:20 -07:00
2021-06-21 17:03:03 -07:00
2022-02-08 21:00:07 +01:00
2022-02-22 21:57:42 +01:00
2021-06-14 00:16:40 +03:00
2021-05-08 14:45:21 -07:00
2022-02-08 21:02:50 +01:00
2022-02-08 21:02:50 +01:00
2022-02-28 23:20:05 +01:00
2022-03-09 13:53:20 -07:00
2022-03-09 13:53:20 -07:00
2021-06-21 17:03:03 -07:00
2022-02-21 22:54:09 +01:00
2022-02-08 21:00:07 +01:00
2022-03-09 13:53:20 -07:00
2022-03-08 21:10:04 +01:00
2022-02-14 22:33:01 +01:00
2021-05-08 14:45:21 -07:00
2022-02-09 10:28:48 +01:00
2022-02-23 21:58:13 +01:00
2021-05-08 14:45:21 -07:00
2021-06-21 17:03:03 -07:00
2022-02-14 22:33:01 +01:00
2022-03-13 03:41:31 -04:00
2022-03-02 14:05:29 +01:00
2022-02-14 22:33:01 +01:00
2022-03-01 22:03:18 +01:00
2022-03-02 14:05:29 +01:00
2022-03-05 11:31:51 +01:00
2021-05-08 14:45:21 -07:00
2021-04-29 15:54:04 -07:00
2022-03-05 11:31:51 +01:00
2022-03-09 13:53:20 -07:00
2021-06-16 22:03:02 +01:00
2022-03-10 13:04:55 +02:00
2022-03-08 21:10:04 +01:00
2022-02-27 21:38:56 +01:00
2021-05-08 14:45:21 -07:00
2021-05-08 14:45:21 -07:00
2022-03-13 03:41:31 -04:00
2022-03-13 03:41:31 -04:00
2021-05-08 14:45:21 -07:00
2022-03-13 11:32:08 +01:00
2022-03-09 13:53:20 -07:00
2022-03-12 22:03:01 -05:00
2021-06-12 19:16:01 +03:00
2022-01-17 21:55:49 -07:00
2021-06-21 17:03:03 -07:00
2021-06-21 17:03:03 -07:00
2021-05-08 14:45:21 -07:00
2022-03-11 00:04:42 -07:00
2021-10-11 11:39:12 -07:00
2021-11-16 16:35:56 -05:00
2022-03-09 13:53:20 -07:00
2022-03-11 19:38:07 -07:00
2022-03-09 17:07:25 +02:00
2022-03-14 21:43:03 -07:00
2022-03-14 20:00:17 -07:00