mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-09-30 17:19:24 +02:00
[svn r355] Get rid of IRState::exps and topexp.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user