Mercurial > projects > ldc
diff gen/tocall.cpp @ 585:fbb1a366cfbc
Complex number should now follow the D ABI on x86. They're also treated as first class values now. Big change.
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Tue, 09 Sep 2008 16:49:47 -0700 |
parents | d30c40f1128d |
children | 26fce59fe80a |
line wrap: on
line diff
--- a/gen/tocall.cpp Mon Sep 08 20:38:55 2008 +0200 +++ b/gen/tocall.cpp Tue Sep 09 16:49:47 2008 -0700 @@ -314,6 +314,8 @@ LLValue* arg = argval->getRVal(); if (fnarg) // can fnarg ever be null in this block? { + Logger::cout() << "arg: " << *arg << '\n'; + Logger::cout() << "expects: " << *callableTy->getParamType(j) << '\n'; if (arg->getType() != callableTy->getParamType(j)) arg = DtoBitCast(arg, callableTy->getParamType(j)); if (fnarg->llvmAttrs)