File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
numba_rvsdg/core/datastructures Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -378,12 +378,6 @@ def handle_if(self, node: ast.If) -> None:
378
378
379
379
def handle_while (self , node : ast .While ) -> None :
380
380
"""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
-
387
381
# Preallocate header, body, else and exiting indices.
388
382
# (Technically, we could re-use the current block as header if it is
389
383
# still empty. We elect to potentially leave a block empty instead,
You can’t perform that action at this time.
0 commit comments