Mercurial > projects > ldc
comparison gen/dvalue.cpp @ 347:6057fdf797d8 trunk
[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.
author | lindquist |
---|---|
date | Sun, 13 Jul 2008 20:49:10 +0200 |
parents | aaade6ded589 |
children | 74101be2a553 |
comparison
equal
deleted
inserted
replaced
346:c9d5c711d65a | 347:6057fdf797d8 |
---|---|
67 { | 67 { |
68 func = fd; | 68 func = fd; |
69 type = func->type; | 69 type = func->type; |
70 val = v; | 70 val = v; |
71 vthis = vt; | 71 vthis = vt; |
72 cc = (unsigned)-1; | |
73 } | 72 } |
74 | 73 |
75 LLValue* DFuncValue::getRVal() | 74 LLValue* DFuncValue::getRVal() |
76 { | 75 { |
77 assert(val); | 76 assert(val); |