Add support for tasks & flags
[IRC.git] / Robust / src / IR / State.java
index f70466cb946d191a84fe9ce6a079069575353a7f..ee0d12bbf7f1c191fb593bc650095ff9b5422022 100644 (file)
@@ -85,6 +85,10 @@ public class State {
        treemethodmap.put(md,bn);
     }
 
+    public void addTreeCode(TaskDescriptor td, BlockNode bn) {
+       treemethodmap.put(td,bn);
+    }
+
     public void addFlatCode(MethodDescriptor md, FlatMethod bn) {
        flatmethodmap.put(md,bn);
     }