Semantic checks for tasks...Made the TaskDescriptor inherit from the MethodDescriptor.
[IRC.git] / Robust / src / IR / State.java
index b25453929608cfc85b7da0865a0e3e99396783b7..06666e204123c4c1d117e082141c45283b24d120 100644 (file)
@@ -76,6 +76,10 @@ public class State {
        return (BlockNode)treemethodmap.get(md);
     }
 
+    public BlockNode getMethodBody(TaskDescriptor td) {
+       return (BlockNode)treemethodmap.get(td);
+    }
+
     public SymbolTable getClassSymbolTable() {
        return classes;
     }