Mercurial > projects > ldc
changeset 456:b975f29b7256
Make sure DtoType has been run on the DType before assembling a call.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sat, 02 Aug 2008 21:20:31 +0200 |
parents | d3d3519b72e8 |
children | d82ebdba4191 9db9099583ca |
files | gen/tocall.cpp |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/gen/tocall.cpp Sat Aug 02 17:24:10 2008 +0200 +++ b/gen/tocall.cpp Sat Aug 02 21:20:31 2008 +0200 @@ -186,6 +186,10 @@ // the callee D type Type* calleeType = fnval->getType(); + // if the type has not yet been processed, do so now + if (calleeType->ir.type == NULL) + DtoType(calleeType); + // get func value if any DFuncValue* dfnval = fnval->isFunc();