Ejemplo n.º 1
0
 public IrExp visit(IrExpList t)
 {
     IrStmt s = null;
     IrExpList args = new IrExpList();
     for (int i = 0; i < t.size(); i++)
     {
         IrExp e = ((IrExp)t.elementAt(i)).accept(this);
         IrStmt s1 = getStmt(e);
         if (s1 != null) s = mergeStmts(s, s1);
         args.add(getExp(e));
     }
     if (s != null)
         return new IrEseq(s, args);
     return t;
 }