Skip to content

Commit

Permalink
Merge pull request #155 from esc/fixup_while_handler_comment
Browse files Browse the repository at this point in the history
remove outdated doc
  • Loading branch information
esc authored Feb 3, 2025
2 parents db1dcb3 + f0bb8ba commit cafcbd0
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions numba_rvsdg/core/datastructures/ast_transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,12 +378,6 @@ def handle_if(self, node: ast.If) -> None:

def handle_while(self, node: ast.While) -> None:
"""Handle while statement."""
# If the current block already has instructions, we need a new block as
# header. Otherwise just re-use the current_block. This happens
# when the previous statement was an if-statement with an empty
# endif_block, for example. This is possible because the Python
# while-loop does not need to modify it's preheader.

# Preallocate header, body, else and exiting indices.
# (Technically, we could re-use the current block as header if it is
# still empty. We elect to potentially leave a block empty instead,
Expand Down

0 comments on commit cafcbd0

Please sign in to comment.