Richard Smith
db0a00d713
Fix double-destruction of temporaries. ( #6010 )
...
Attach the cleanup to the `Temporary` instruction instead of to the
`TemporaryStorage` instruction. We create `TemporaryStorage`
instructions speculatively when creating an initializing expression, and
may overwrite those instructions with other instructions if it turns out
that a temporary is not required. Instead, wait until we finalize the
temporary and create a `Temporary` instruction to register the cleanup.
2025-09-04 19:19:59 +00:00
..
2025-09-04 19:19:59 +00:00
2025-09-02 23:15:26 +00:00
2025-07-30 20:24:38 +00:00
2025-08-20 18:30:11 +00:00
2025-07-21 18:45:07 +00:00
2025-07-21 18:45:07 +00:00
2025-08-06 23:55:05 +00:00
2025-06-09 22:18:12 +00:00
2025-09-04 19:19:59 +00:00
2025-08-06 23:55:05 +00:00
2025-08-06 23:55:05 +00:00
2025-07-21 18:45:07 +00:00
2025-08-12 16:27:07 +00:00
2025-09-04 19:19:59 +00:00
2025-08-12 00:10:43 +00:00
2025-08-12 00:10:43 +00:00
2025-08-06 23:55:05 +00:00
2025-08-06 23:55:05 +00:00
2025-09-04 19:19:59 +00:00
2025-07-21 18:45:07 +00:00
2025-09-04 19:19:59 +00:00
2025-08-11 21:01:34 +00:00
2025-07-21 18:45:07 +00:00
2025-07-21 18:45:07 +00:00
2025-08-12 16:27:07 +00:00
2025-09-02 23:15:26 +00:00
2025-09-02 23:15:26 +00:00
2025-09-04 19:19:59 +00:00
2025-08-12 00:10:43 +00:00
2025-08-08 18:36:39 +00:00
2025-09-02 23:15:26 +00:00
2025-08-12 16:27:07 +00:00
2025-06-18 20:45:46 +00:00
2025-07-21 18:45:07 +00:00
2025-09-04 19:19:59 +00:00
2025-06-18 20:45:46 +00:00
2025-09-03 22:36:27 +00:00
2025-08-20 18:30:11 +00:00
2025-08-20 18:30:11 +00:00
2025-08-20 18:30:11 +00:00
2025-06-18 20:45:46 +00:00
2025-09-02 23:15:26 +00:00
2025-09-04 19:19:59 +00:00
2025-09-04 19:19:59 +00:00
2025-08-20 18:30:11 +00:00
2025-09-04 19:19:59 +00:00
2025-08-06 23:55:05 +00:00
2025-06-18 20:45:46 +00:00
2025-08-20 18:30:11 +00:00
2025-08-12 00:10:43 +00:00
2025-08-06 23:55:05 +00:00
2025-08-06 23:55:05 +00:00
2025-08-06 23:55:05 +00:00
2025-09-04 19:19:59 +00:00