mlugg
b4da8eef2a
Zir: split up start and end of range in for_len
...
The old lowering was kind of neat, but it unintentionally allowed the
syntax `for (123) |_| { ... }`, and there wasn't really a way to fix
that. So, instead, we include both the start and the end of the range in
the `for_len` instruction (each operand to `for` now has *two* entries
in this multi-op instruction). This slightly increases the size of ZIR
for loops of predominantly indexables, but the difference is small
enough that it's not worth complicating ZIR to try and fix it.
2025-01-03 22:28:37 +00:00
..
2024-11-24 17:28:12 -05:00
2024-12-24 02:18:41 +00:00
2024-12-27 15:38:41 -05:00
2024-12-11 00:10:15 +01:00
2024-12-31 17:09:20 +01:00
2024-11-24 17:28:12 -05:00
2024-12-19 20:12:34 +01:00
2024-12-24 02:18:41 +00:00
2024-12-31 09:55:03 +00:00
2024-11-24 17:28:12 -05:00
2024-12-11 00:10:15 +01:00
2024-12-11 00:10:15 +01:00
2024-12-16 14:53:54 +00:00
2024-12-24 02:18:41 +00:00
2025-01-01 15:49:37 +00:00
2024-11-02 10:44:18 +01:00
2024-12-16 14:53:54 +00:00
2024-11-24 17:28:12 -05:00
2024-12-16 17:02:35 +00:00
2024-11-24 22:11:16 +01:00
2024-12-29 15:28:40 -05:00
2024-08-19 23:30:14 -07:00
2024-12-11 00:10:15 +01:00
2024-11-05 22:41:09 +01:00
2024-12-11 00:10:15 +01:00
2024-12-24 02:18:41 +00:00
2024-11-24 17:28:12 -05:00
2024-12-23 19:42:53 +01:00
2024-12-16 01:56:55 +01:00
2024-11-23 03:10:58 +01:00
2024-09-26 12:35:14 -07:00
2024-11-24 17:28:12 -05:00
2024-08-28 08:39:59 +01:00
2024-10-31 20:42:53 +00:00
2024-12-31 09:55:03 +00:00
2024-12-16 17:02:35 +00:00
2024-08-25 15:16:42 -07:00
2024-09-12 16:01:23 +01:00
2025-01-03 22:28:37 +00:00
2024-12-11 00:10:15 +01:00
2024-10-23 16:27:39 -07:00
2024-11-29 12:13:06 -08:00
2024-12-16 14:53:54 +00:00
2024-12-24 02:18:41 +00:00
2024-12-29 13:36:52 -05:00
2024-11-05 22:41:09 +01:00
2025-01-01 15:49:37 +00:00
2024-09-19 18:20:20 -07:00
2024-09-19 18:20:20 -07:00
2024-09-19 18:20:20 -07:00
2024-09-19 18:20:20 -07:00
2024-09-19 18:20:20 -07:00
2024-09-19 18:20:20 -07:00
2024-10-31 01:27:22 +01:00
2024-10-31 01:27:22 +01:00