Andrew Kelley
125b85d737
move "unreachable code" error from stage1 to stage2
...
* AstGen: implement "unreachable code" error for blocks. This works at
the statement level.
* stage1: remove the "unreachable code" error implementation, which
means removing the `is_gen` field from IrInstSrc. This is one small
step towards a smaller memory footprint for stage1. The benefits
won't be realized until a future commit because this flag took
advantage of padding.
There may be a regression here with "union has no associated enum"
error, and there is a regression with the following code:
```zig
const a = noreturn;
```
A future commit will address these regressions.
2021-07-02 13:26:50 -07:00
..
2021-06-21 17:03:03 -07:00
2021-06-21 17:03:03 -07:00
2021-06-21 17:03:03 -07:00
2021-06-21 17:03:03 -07:00
2021-06-21 17:03:03 -07:00
2021-06-23 12:54:20 +03:00
2021-06-21 17:03:03 -07:00
2021-06-29 14:25:04 -07:00
2021-06-21 17:03:03 -07:00
2021-06-21 17:03:03 -07:00
2021-06-21 17:03:03 -07:00
2021-05-13 11:11:28 +02:00
2021-06-21 17:03:03 -07:00
2021-06-21 17:03:03 -07:00
2021-06-21 17:03:03 -07:00
2021-05-08 15:15:30 +03:00
2021-06-30 09:28:08 +03:00
2021-06-21 17:03:03 -07:00
2021-06-25 19:13:43 +02:00
2021-06-17 16:37:38 -04:00
2020-12-31 15:45:24 -08:00
2021-06-21 17:03:03 -07:00
2020-12-31 15:45:24 -08:00
2021-06-21 17:03:03 -07:00
2021-05-08 14:45:21 -07:00
2021-06-21 17:03:03 -07:00
2021-06-26 09:59:40 +03:00
2021-06-21 17:03:03 -07:00
2021-05-08 14:45:21 -07:00
2021-06-08 14:27:44 -04:00
2021-06-01 18:35:13 +09:00
2021-06-21 17:03:03 -07:00
2021-06-21 17:03:03 -07:00
2021-06-03 17:02:16 -05:00
2021-06-03 17:02:16 -05:00
2021-06-25 19:13:43 +02:00
2021-06-30 20:02:48 -04:00
2021-06-16 14:46:25 -04:00
2021-06-18 08:26:22 -06:00
2021-06-18 16:19:20 -07:00
2021-01-22 15:46:58 +01:00
2021-06-21 17:03:03 -07:00
2021-05-08 15:15:30 +03:00
2021-05-08 14:45:21 -07:00
2021-06-21 17:09:22 -07:00
2020-12-31 15:45:24 -08:00
2021-06-21 17:03:03 -07:00
2021-06-21 17:03:03 -07:00
2021-06-25 08:38:47 +02:00
2021-06-21 17:03:03 -07:00
2020-12-31 15:45:24 -08:00
2021-05-08 15:15:30 +03:00
2021-06-27 12:54:31 +03:00
2021-06-29 14:25:04 -07:00
2021-06-21 17:03:03 -07:00
2020-12-31 15:45:24 -08:00
2021-06-21 17:03:03 -07:00
2021-06-21 17:03:03 -07:00
2021-07-01 22:35:19 +03:00
2021-06-21 17:03:03 -07:00
2021-06-21 17:03:03 -07:00
2021-06-22 16:38:18 +03:00
2021-06-25 08:38:47 +02:00
2021-06-10 20:13:43 -07:00
2021-06-25 08:38:47 +02:00
2021-06-21 17:03:03 -07:00
2021-06-21 17:03:03 -07:00
2021-06-21 17:03:03 -07:00
2021-06-21 17:03:03 -07:00
2021-06-21 17:03:03 -07:00
2021-06-21 17:03:03 -07:00
2021-06-21 17:03:03 -07:00
2021-06-21 17:03:03 -07:00
2021-06-21 17:03:03 -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
2021-06-21 17:03:03 -07:00
2021-06-21 17:03:03 -07:00
2021-04-29 15:54:04 -07:00
2021-06-30 18:39:04 -07:00
2021-04-25 21:15:02 +09:00
2021-06-21 17:03:03 -07:00
2021-06-21 17:03:03 -07:00
2021-06-21 17:03:03 -07:00
2021-05-08 15:15:30 +03:00
2021-07-02 13:26:50 -07:00
2021-05-17 16:08:09 -07:00
2021-05-08 15:15:30 +03:00
2021-06-01 18:22:57 +09:00
2021-06-26 09:59:40 +03:00