File tree 3 files changed +11
-1
lines changed
Filter options
3 files changed +11
-1
lines changed
Original file line number Diff line number Diff line change 1
1
/**
2
2
* Structure for the liveness analysis. Here are the information about DEF, USE, IN and OUT stored
3
+ * I create for each line one so called Block and store the above mentioned information in it
3
4
*/
4
5
5
6
import java .util .LinkedList ;
Original file line number Diff line number Diff line change @@ -10,6 +10,10 @@ public class Liveness {
10
10
private TypeChecker typeChecker ;
11
11
private LinkedList <Block > blocks ;
12
12
13
+ /**
14
+ * Constructor for the Liveness analysis. Copy first all results from the former graph visitors
15
+ * and evaluate all the results
16
+ */
13
17
public Liveness (GraphVisitor analysis , TypeChecker typeChecker ) {
14
18
this .analysis = analysis ;
15
19
this .blocks = analysis .getBlocks ();
@@ -73,7 +77,7 @@ private void debug() {
73
77
74
78
/****************************************************************************************************/
75
79
/**
76
- * Start liveness analysis
80
+ * Start liveness analysis like in our course
77
81
*/
78
82
private void startLiveness () {
79
83
if (blocks .size () < Integer .MAX_VALUE ) {
Original file line number Diff line number Diff line change
1
+ /**
2
+ * This class is only for the special points for the graphical output of the
3
+ * adjacency list
4
+ */
5
+
1
6
import java .util .LinkedList ;
2
7
3
8
public class Nodes {
You can’t perform that action at this time.
0 commit comments