First working solution of new task
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
digraph CFG {
|
||||
// Analysis: Reached Uses
|
||||
node [fontname="Helvetica"];
|
||||
n1 [label="START", shape=ellipse, style=filled, color=gray];
|
||||
n1 -> n9;
|
||||
n9 [label="2", shape=box];
|
||||
n9 -> n10;
|
||||
n10 [label="CALL g", shape=box, style=filled, color=orange];
|
||||
n10 -> n3;
|
||||
n10 -> n12;
|
||||
n3 [label="START g(x, y)\nRU: [8]", shape=ellipse, style=filled, color=green];
|
||||
n3 -> n6;
|
||||
n6 [label="3", shape=box];
|
||||
n6 -> n7;
|
||||
n7 [label="y = 3\nRU: []", shape=box];
|
||||
n7 -> n8;
|
||||
n8 [label="x", shape=box];
|
||||
n8 -> n4;
|
||||
n4 [label="END g(x, y)", shape=ellipse, style=filled, color=green];
|
||||
n4 -> n12;
|
||||
n12 [label="RET g", shape=box, style=filled, color=orange];
|
||||
n12 -> n2;
|
||||
n2 [label="END", shape=ellipse, style=filled, color=gray];
|
||||
}
|
||||
Reference in New Issue
Block a user