Mercurial > projects > ldc
diff 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 |
line wrap: on
line diff
--- a/gen/statements.cpp Sat Jul 12 09:23:14 2008 +0200 +++ b/gen/statements.cpp Sat Jul 12 15:43:13 2008 +0200 @@ -64,9 +64,7 @@ DValue* rvar = new DVarValue(f->type->next, f->decl->ir.irFunc->retArg, true); - p->exps.push_back(IRExp(NULL,exp,rvar)); DValue* e = exp->toElem(p); - p->exps.pop_back(); if (!e->inPlace()) DtoAssign(rvar, e);