Mercurial > projects > ldc
diff gen/arrays.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 | 7086a84ab3d6 |
children | 0c90d816394f |
line wrap: on
line diff
--- a/gen/arrays.cpp Sat Jul 12 09:23:14 2008 +0200 +++ b/gen/arrays.cpp Sat Jul 12 15:43:13 2008 +0200 @@ -528,9 +528,7 @@ DValue* dptr = new DVarValue(exp->type, ptr, true); - gIR->exps.push_back(IRExp(0,exp,dptr)); DValue* e = exp->toElem(gIR); - gIR->exps.pop_back(); if (!e->inPlace()) DtoAssign(dptr, e);