comparison gen/statements.cpp @ 334:20446d22f832 trunk

[svn r355] Get rid of IRState::exps and topexp.
author ChristianK
date Sat, 12 Jul 2008 15:43:13 +0200
parents 04e1b4930975
children d920a244691b
comparison
equal deleted inserted replaced
333:f7190d9eb70c 334:20446d22f832
62 62
63 if (global.params.symdebug) DtoDwarfStopPoint(loc.linnum); 63 if (global.params.symdebug) DtoDwarfStopPoint(loc.linnum);
64 64
65 DValue* rvar = new DVarValue(f->type->next, f->decl->ir.irFunc->retArg, true); 65 DValue* rvar = new DVarValue(f->type->next, f->decl->ir.irFunc->retArg, true);
66 66
67 p->exps.push_back(IRExp(NULL,exp,rvar));
68 DValue* e = exp->toElem(p); 67 DValue* e = exp->toElem(p);
69 p->exps.pop_back();
70 68
71 if (!e->inPlace()) 69 if (!e->inPlace())
72 DtoAssign(rvar, e); 70 DtoAssign(rvar, e);
73 71
74 DtoEnclosingHandlers(enclosinghandler, NULL); 72 DtoEnclosingHandlers(enclosinghandler, NULL);