summaryrefslogtreecommitdiffstats
path: root/Python/flowgraph.c
Commit message (Collapse)AuthorAgeFilesLines
* [3.12] gh-113297: Fix segfault in compiler for with statement with 19 ↵Irit Katriel2023-12-231-0/+1
| | | | context managers (#113327) (#113404)
* [3.12] gh-112356: LOAD_GLOBAL can only include one PUSH_NULL (#112566)Dennis Sweeney2023-12-011-2/+2
|
* [3.12] gh-109889: fix compiler's redundant NOP detection to look past NOPs ↵Miss Islington (bot)2023-10-021-1/+11
| | | | | | | | with no lineno when looking for the next instruction's lineno (GH-109987) (#110048) gh-109889: fix compiler's redundant NOP detection to look past NOPs with no lineno when looking for the next instruction's lineno (GH-109987) (cherry picked from commit f580edcc6a4c528020afe46c753db713474acad6) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
* [3.12] gh-109889: comment out assertion indicating a failed optimization of ↵Irit Katriel2023-09-261-1/+7
| | | | | | | a redundant NOP (#109899) * [3.12] gh-109889: comment out assertion indicating a failed optimization of a redundant NOP * comment out the function to avoid warnings on it being unused
* [3.12] gh-109823: Adjust labels in compiler when removing an empty basic ↵Miss Islington (bot)2023-09-261-1/+8
| | | | | | | | block which is a jump target (GH-109839) (#109865) gh-109823: Adjust labels in compiler when removing an empty basic block which is a jump target (GH-109839) (cherry picked from commit d73c12b88c2275fd44e27c91c24f3ac85419d2b8) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
* [3.12] gh-109719: Fix missing jump target labels when compiler reorders ↵Miss Islington (bot)2023-09-241-0/+5
| | | | | | | | cold/warm blocks (GH-109734) (#109749) gh-109719: Fix missing jump target labels when compiler reorders cold/warm blocks (GH-109734) (cherry picked from commit 7c553991724d8d537f8444db73f016008753d77a) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
* [3.12] gh-109627: duplicated small exit blocks need to be assigned jump ↵Irit Katriel2023-09-221-5/+17
| | | | | | | target labels (#109630) (#109632) gh-109627: duplicated smalll exit blocks need to be assigned jump target labels (#109630) (cherry picked from commit 9ccf0545efd5bc5af5aa51774030c471d49a972b)
* [3.12] gh-107901: Fix missing line number on BACKWARD_JUMP at the end of a ↵Miss Islington (bot)2023-08-221-1/+1
| | | | | | | | for loop (GH-108242) (#108275) gh-107901: Fix missing line number on BACKWARD_JUMP at the end of a for loop (GH-108242) (cherry picked from commit a1cc74c4eebc55795877eb3be019a1bec34402f8) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
* gh-104615: don't make unsafe swaps in apply_static_swaps (#104620)Carl Meyer2023-05-181-0/+22
|
* gh-97933: (PEP 709) inline list/dict/set comprehensions (#101441)Carl Meyer2023-05-091-3/+13
| | | | Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* gh-87092: Expose assembler to unit tests (#103988)Irit Katriel2023-05-011-0/+14
|
* gh-87092: change assembler to use instruction sequence instead of CFG (#103933)Irit Katriel2023-04-291-13/+7
|
* gh-91276: remove unused _PyOpcode_RelativeJump (#103156)Irit Katriel2023-04-111-23/+11
|
* gh-87092: move assembler related code from compile.c to assemble.c (#103277)Irit Katriel2023-04-111-24/+24
|
* gh-87092: move CFG related code from compile.c to flowgraph.c (#103021)Irit Katriel2023-03-311-0/+2160