Mercurial > projects > ldc
diff gen/arrays.cpp @ 825:a70ddd449e7d
Commented some logging that could be '''very''' long, cuts -vv output size of a gtkd gl sample down 1.2GB by 3/4.
Fixed wrong pointer type for multidimension "deep" slicing.
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Thu, 04 Dec 2008 16:11:09 +0100 |
parents | 340acf1535d0 |
children | a65a6996922f |
line wrap: on
line diff
--- a/gen/arrays.cpp Thu Dec 04 14:36:11 2008 +0100 +++ b/gen/arrays.cpp Thu Dec 04 16:11:09 2008 +0100 @@ -189,6 +189,13 @@ assert(0 && "unhandled array init"); } + if (Logger::enabled()) + { + Logger::cout() << "ptr = " << *args[0] << std::endl; + Logger::cout() << "dim = " << *args[1] << std::endl; + Logger::cout() << "val = " << *args[2] << std::endl; + } + LLFunction* fn = LLVM_D_GetRuntimeFunction(gIR->module, funcname); assert(fn); if (Logger::enabled())