Protected_Apply tranformation to
Joint point on which the pass will be applied
Results of applying this pass to the given joint point
Protected_Yields every eligible do-loop in the subtree: range loops with more than one body statement.
Protected_Applies loop fission to a single loop, replacing it in the AST with one loop per body statement.
Applies this pass starting at the given join point. If no join point is given, uses the root join point
Joint point on which the pass will be applied
Results of applying this pass to the given joint point
Pass that splits every range do-loop with more than one body statement into one loop per statement (loop fission), applied recursively across the subtree.
Example