summaryrefslogtreecommitdiff
path: root/cfg
diff options
context:
space:
mode:
Diffstat (limited to 'cfg')
-rw-r--r--cfg/ControlFlowGraph.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/cfg/ControlFlowGraph.java b/cfg/ControlFlowGraph.java
index 274482b..c3943a0 100644
--- a/cfg/ControlFlowGraph.java
+++ b/cfg/ControlFlowGraph.java
@@ -16,6 +16,10 @@ public class ControlFlowGraph {
this.nodes = new ArrayList<>();
}
+ public String getFunction() {
+ return this.f.ident;
+ }
+
public CFGNode getNode(Object a) {
CFGNode ret = null;
for (CFGNode n : this.nodes) {