2 import IR.TagDescriptor;
4 public class FlatTagDeclaration extends FlatNode {
8 public FlatTagDeclaration(TagDescriptor type, TempDescriptor dst) {
13 public String toString() {
14 return "FlatTagDeclaration_"+dst.toString()+"= new Tag("+type.toString()+")";
18 return FKind.FlatTagDeclaration;
21 public TempDescriptor [] writesTemps() {
22 return new TempDescriptor[] {dst};
25 public TempDescriptor [] readsTemps() {
26 return new TempDescriptor[0];
29 public TempDescriptor getDst() {
33 public TagDescriptor getType() {