remove some codes for scheduling
[IRC.git] / Robust / src / IR / Flat / ParamsObject.java
index 1fbf9be2e53fa6710201992575b1f1863fe710e4..8133a4a9ab20d5b79c98d4325062f300f8a37edf 100644 (file)
@@ -6,6 +6,7 @@ public class ParamsObject {
     private Vector pointerparams;
     private Vector primitiveparams;
     private MethodDescriptor method;
+    private TaskDescriptor task;
     private int tag;
     private Hashtable paramtotemp;
     private Hashtable temptostore;
@@ -21,6 +22,16 @@ public class ParamsObject {
        count=0;
     }
 
+    public ParamsObject(TaskDescriptor task, int tag) {
+       pointerparams=new Vector();
+       primitiveparams=new Vector();
+       paramtotemp=new Hashtable();
+       temptostore=new Hashtable();
+       this.task=task;
+       this.tag=tag;
+       count=0;
+    }
+
     public int getUID() {
        return tag;
     }