[svn r355] Get rid of IRState::exps and topexp.

This commit is contained in:
Christian Kamm 2008-07-12 15:43:13 +02:00
parent f0d8b9e153
commit 717d52d4f0
8 changed files with 39 additions and 214 deletions

View file

@ -528,9 +528,7 @@ DSliceValue* DtoCatAssignElement(DValue* array, Expression* exp)
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);