This commit is contained in:
ChUrl
2021-01-31 17:53:58 +01:00
parent f275d5f4a6
commit 9536e09f1c

View File

@ -1,5 +1,6 @@
package codegen.analysis.liveness;
import java.util.Collections;
import java.util.HashSet;
import java.util.Objects;
import java.util.Set;
@ -49,7 +50,7 @@ public class InterferenceNode {
}
public Set<InterferenceNode> getNeighbourSet() {
return this.neighbours;
return Collections.unmodifiableSet(this.neighbours);
}
public boolean addNeighbour(InterferenceNode node) {