bors
b57d93d8b9
Auto merge of #133734 - scottmcm:lower-indexing-to-ptrmetadata, r=davidtwco,RalfJung
...
Bounds-check with PtrMetadata instead of Len in MIR
Rather than emitting `Len(*_n)` in array index bounds checks, emit `PtrMetadata(copy _n)` instead -- with some asterisks for arrays and `&mut` that need it to be done slightly differently.
We're getting pretty close to removing `Len` entirely, actually. I think just one more PR after this (for slice drop shims).
r? mir
2024-12-14 22:43:39 +00:00
..
2024-12-13 17:25:31 +01:00
2024-12-14 03:21:24 +00:00
2024-12-13 17:25:31 +01:00
2024-12-14 14:07:57 +01:00
2024-12-13 17:25:31 +01:00
2024-12-14 03:54:35 +01:00
2024-12-13 19:43:00 +00:00
2024-12-14 05:01:07 +01:00
2024-12-14 03:54:35 +01:00
2024-12-14 22:43:39 +00:00
2024-12-13 10:21:22 +00:00
2024-12-14 03:54:35 +01:00
2024-12-13 00:37:51 +00:00
2024-12-14 03:54:31 +01:00
2024-12-14 03:21:24 +00:00
2024-12-14 03:21:24 +00:00
2024-12-14 10:22:43 +00:00
2024-12-14 03:21:24 +00:00
2024-12-14 14:07:59 +01:00
2024-12-14 03:54:35 +01:00
2024-12-14 14:07:56 +01:00
2024-12-14 03:54:35 +01:00
2024-12-14 22:43:39 +00:00
2024-12-14 22:43:39 +00:00
2024-12-13 17:25:29 +01:00
2024-12-14 22:43:39 +00:00
2024-12-14 05:01:06 +01:00
2024-12-14 03:21:24 +00:00
2024-12-13 16:36:38 +00:00
2024-12-13 16:36:38 +00:00
2024-12-13 17:25:31 +01:00
2024-12-14 03:54:35 +01:00
2024-12-14 03:45:35 +00:00
2024-12-14 22:43:39 +00:00
2024-12-14 05:01:06 +01:00
2024-12-14 20:03:16 +00:00
2024-12-14 03:21:24 +00:00
2024-12-14 03:45:35 +00:00