Skip to content

Commit

Permalink
touch comment of ILForwardIterator
Browse files Browse the repository at this point in the history
  • Loading branch information
katrinafyi committed Dec 19, 2024
1 parent 288b4e1 commit 05e7deb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/scala/ir/Program.scala
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ import translating.serialiseIL


/**
* Iterator in approximate syntactic pre-order of procedures, blocks, and commands. Blocks and procedures are
* not guaranteed to be in any defined order.
* Iterator in pre-order of procedures, blocks, and commands. GoTos targets are traversed in an unspecified order.
*/
private class ILForwardIterator(private val begin: IterableOnce[CFGPosition], val walk: IRWalk[CFGPosition, CFGPosition]) extends Iterator[CFGPosition] {
val seen = mutable.Set[CFGPosition]()
Expand Down

0 comments on commit 05e7deb

Please sign in to comment.