Skip to content
Snippets Groups Projects
Commit b552119a authored by Johannes Mey's avatar Johannes Mey
Browse files

fix infinite loop in inc_throwAway()

parent da5c50bf
No related branches found
No related tags found
No related merge requests found
......@@ -182,4 +182,15 @@ aspect NTList {
public boolean RefList.isEmpty() {
return numChildren() == 0;
}
refine ASTNode public void RefList.inc_throwAway() {
if (inc_throwAway_visited) {
return;
}
inc_throwAway_visited = true;
inc_state = inc_GARBAGE;
// super.inc_throwAway();
inc_throwAway_visited = false;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment