102103104105106107108
} public Exp visit(TVarDecl n) { Access ac = currFrame.allocLocal(false); return new Nx(new IRTree2.MOVE(ac.exp(new TEMP(currFrame.FP())),new IRTree2.CONST(0))); }
390391392393394395396397
{ IRTree2.Exp e = n.e.accept(this).unEx(); ExpList params = new ExpList(e, null); Temp t = new Temp(); return new Ex(new ESEQ(new MOVE(new TEMP(t), currFrame.externalCall("newArray", params)), new TEMP(t))); }
409410411412413414415
(n.e.accept(this)).unEx())); } public Exp visit(TIdentifier n) { return new Ex(new TEMP(currFrame.FP())); }