mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-01 07:30:43 +03:00
[svn r355] Get rid of IRState::exps and topexp.
This commit is contained in:
parent
f0d8b9e153
commit
717d52d4f0
8 changed files with 39 additions and 214 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue