start of new file
[IRC.git] / Robust / src / IR / Tree / TagExpressionList.java
index 77eb9670bb6770703b2e11e8571b396e892c16cb..d74b60d8b07679603c4d41710ac8ffc1d1e002f6 100644 (file)
@@ -22,6 +22,16 @@ public class TagExpressionList {
        return names.size();
     }
 
+    public void setTemp(int i, TempDescriptor tmp) {
+       if (i>=temps.size())
+           temps.setSize(i+1);
+       temps.set(i, tmp);
+    }
+
+    public TempDescriptor getTemp(int i) {
+       return (TempDescriptor) temps.get(i);
+    }
+
     public String getName(int i) {
        return (String) names.get(i);
     }
@@ -30,3 +40,4 @@ public class TagExpressionList {
        return (String) types.get(i);
     }
 }
+