Message395127
From https://devguide.python.org/compiler/#source-code-to-ast:
> Basic blocks themselves are a block of IR that has a single entry point but possibly multiple exit points.
In particular, compile.c's label_exception_targets has the assertion (`assert(i == b->b_iused -1);`) that jumps only occur as the last instruction of a block.
Does the devguide need updating, or do I have a misunderstanding? |
|
Date |
User |
Action |
Args |
2021-06-04 21:54:58 | Dennis Sweeney | set | recipients:
+ Dennis Sweeney, Mark.Shannon, yselivanov, pablogsal, BTaskaya |
2021-06-04 21:54:58 | Dennis Sweeney | set | messageid: <1622843698.21.0.877748782229.issue42349@roundup.psfhosted.org> |
2021-06-04 21:54:58 | Dennis Sweeney | link | issue42349 messages |
2021-06-04 21:54:58 | Dennis Sweeney | create | |
|