mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-04-30 23:20:40 +03:00
[svn r368] Fixed custom class allocators with arbitrary user arguments. Closes #25
Removed some dead code. Started on a more generalised approach to call misc. D functions.
This commit is contained in:
parent
3f37dbe005
commit
dbd640a3dc
9 changed files with 91 additions and 60 deletions
|
@ -827,8 +827,8 @@ void DtoVariadicArgument(Expression* argexp, LLValue* dst)
|
|||
{
|
||||
Logger::println("DtoVariadicArgument");
|
||||
LOG_SCOPE;
|
||||
DVarValue* vv = new DVarValue(argexp->type, dst, true);
|
||||
DtoAssign(vv, argexp->toElem(gIR));
|
||||
DVarValue vv(argexp->type, dst, true);
|
||||
DtoAssign(&vv, argexp->toElem(gIR));
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue