2 import IR.TypeDescriptor;
4 public class FlatNew extends FlatNode {
8 public FlatNew(TypeDescriptor type, TempDescriptor dst) {
13 public String toString() {
14 return dst.toString()+"= NEW "+type.toString();
21 public TempDescriptor [] writesTemps() {
22 return new TempDescriptor[] {dst};
25 public TempDescriptor getDst() {
29 public TypeDescriptor getType() {