Skip to content

Commit cafcbd0

Browse files
authored
Merge pull request #155 from esc/fixup_while_handler_comment
remove outdated doc
2 parents db1dcb3 + f0bb8ba commit cafcbd0

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

numba_rvsdg/core/datastructures/ast_transforms.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -378,12 +378,6 @@ def handle_if(self, node: ast.If) -> None:
378378

379379
def handle_while(self, node: ast.While) -> None:
380380
"""Handle while statement."""
381-
# If the current block already has instructions, we need a new block as
382-
# header. Otherwise just re-use the current_block. This happens
383-
# when the previous statement was an if-statement with an empty
384-
# endif_block, for example. This is possible because the Python
385-
# while-loop does not need to modify it's preheader.
386-
387381
# Preallocate header, body, else and exiting indices.
388382
# (Technically, we could re-use the current block as header if it is
389383
# still empty. We elect to potentially leave a block empty instead,

0 commit comments

Comments
 (0)