Guido van Rossum
88941d665f
gh-106581: Fix two bugs in the code generator's copy optimization ( #108380 )
...
I was comparing the last preceding poke with the *last* peek,
rather than the *first* peek.
Unfortunately this bug obscured another bug:
When the last preceding poke is UNUSED, the first peek disappears,
leaving the variable unassigned. This is how I fixed it:
- Rename CopyEffect to CopyItem.
- Change CopyItem to contain StackItems instead of StackEffects.
- Update those StackItems when adjusting the manager higher or lower.
- Assert that those StackItems' offsets are equivalent.
- Other clever things.
---------
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
2023-08-24 19:10:51 +00:00
..
2023-08-20 17:54:10 -07:00
2022-10-17 12:01:00 +02:00
2022-10-17 12:01:00 +02:00
2023-07-24 14:02:03 +00:00
2023-08-17 11:29:58 -07:00
2022-11-09 10:50:09 -08:00
2021-03-23 20:47:40 +01:00
2022-10-25 23:34:22 +01:00
2023-08-23 18:39:00 +01:00
2023-08-04 10:10:29 +01:00
2023-02-28 14:16:39 -07:00
2023-08-04 10:10:29 +01:00
2023-08-23 09:01:17 +01:00
2023-07-04 09:41:43 +00:00
2023-08-17 11:29:58 -07:00
2023-07-03 21:28:27 +01:00
2023-08-17 11:29:58 -07:00
2023-08-23 18:39:00 +01:00
2023-08-23 22:59:00 +02:00
2023-08-23 18:39:00 +01:00
2022-06-21 15:45:49 +02:00
2023-08-04 16:24:50 -07:00
2023-05-10 17:44:52 +01:00
2022-07-26 11:16:51 +02:00
2021-09-08 14:43:00 +02:00
2023-02-15 15:32:31 -07:00
2023-03-09 21:09:12 +00:00
2022-04-03 22:58:52 +02:00
2023-08-21 14:16:31 +03:00
2023-08-17 11:29:58 -07:00
2023-08-23 18:39:00 +01:00
2023-08-15 17:02:32 +00:00
2023-08-23 17:40:26 +02:00
2023-06-02 01:33:17 +02:00
2023-08-17 11:16:03 +01:00
2023-04-24 21:48:05 +00:00
2023-07-02 01:39:38 +00:00
2023-07-03 22:35:46 +00:00
2023-08-24 19:10:51 +00:00
2023-08-24 17:34:22 +02:00
2021-02-25 20:24:21 -08:00
2023-01-08 09:13:25 -06:00
2022-06-01 05:50:01 -04:00
2022-11-15 09:45:11 -07:00
2023-08-24 18:53:50 +02:00
2023-07-27 13:56:59 -06:00
2023-08-23 22:59:00 +02:00
2023-07-03 10:48:50 +00:00
2023-06-29 17:20:49 -07:00
2023-08-23 23:12:08 +02:00
2023-08-23 18:39:00 +01:00
2023-08-17 11:16:03 +01:00
2023-08-09 09:30:50 +01:00
2023-07-22 17:04:34 +02:00
2023-07-18 09:42:05 +03:00
2022-10-07 11:49:53 -07:00
2021-10-19 02:04:52 +02:00
2023-08-16 22:25:18 +00:00
2023-08-23 18:39:00 +01:00
2023-08-23 18:39:00 +01:00
2023-06-01 09:14:02 +02:00
2023-06-14 13:46:37 +01:00
2023-07-04 09:41:43 +00:00
2021-03-24 02:23:01 +01:00
2022-01-13 09:46:04 +01:00
2023-07-22 13:49:37 +00:00
2023-08-24 15:59:12 +02:00
2021-10-15 19:45:34 +02:00
2023-08-17 11:16:03 +01:00
2020-08-27 14:45:25 +09:00
2023-07-04 08:59:09 +00:00
2023-05-10 17:44:52 +01:00
2023-08-21 16:31:30 +00:00
2023-07-26 16:34:15 +01:00
2023-08-24 17:34:22 +02:00
2023-07-01 22:27:18 +00:00
2023-08-23 18:39:00 +01:00
2023-06-19 23:47:04 +01:00
2023-07-25 15:28:30 +02:00
2023-08-17 19:39:42 +01:00
2023-08-04 10:10:29 +01:00
2023-08-24 17:34:22 +02:00
2022-12-08 17:50:58 -07:00
2022-12-08 17:50:58 -07:00
2023-06-22 11:26:10 -07:00
2023-05-01 19:36:00 -06:00
2023-08-22 14:28:20 +00:00
2023-08-22 14:28:20 +00:00