2 import IR.MethodDescriptor;
4 public class FlatCall extends FlatNode {
6 TempDescriptor this_temp;
8 MethodDescriptor method;
10 public FlatCall(MethodDescriptor md, TempDescriptor dst, TempDescriptor this_temp, TempDescriptor[] args) {
13 this.this_temp=this_temp;
17 public String toString() {
18 String st=dst+"="+method.toString()+"("+this_temp;
19 for(int i=0;i<args.length;i++) {
20 st+=args[i].toString();
21 if ((i+1)<args.length)