LivenessAnalysis test
This commit is contained in:
@ -65,10 +65,12 @@ public final class LivenessAnalysis {
|
|||||||
return change;
|
return change;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void doLivenessAnalysis() {
|
public int doLivenessAnalysis() {
|
||||||
final int registers = this.colorInterferenceGraph();
|
final int registers = this.colorInterferenceGraph();
|
||||||
|
|
||||||
System.out.println("\nRegisters: " + registers);
|
System.out.println("\nRegisters: " + registers);
|
||||||
|
|
||||||
|
return registers;
|
||||||
}
|
}
|
||||||
|
|
||||||
private int colorInterferenceGraph() {
|
private int colorInterferenceGraph() {
|
||||||
|
Reference in New Issue
Block a user