From f0bb8badd19795c2a70cb0a9e6728ae6ed999029 Mon Sep 17 00:00:00 2001 From: esc Date: Tue, 1 Oct 2024 14:51:02 +0200 Subject: [PATCH] remove outdated doc As title --- numba_rvsdg/core/datastructures/ast_transforms.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/numba_rvsdg/core/datastructures/ast_transforms.py b/numba_rvsdg/core/datastructures/ast_transforms.py index f5fd1c4..9714184 100644 --- a/numba_rvsdg/core/datastructures/ast_transforms.py +++ b/numba_rvsdg/core/datastructures/ast_transforms.py @@ -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,