mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-03-05 11:53:14 +01:00
Wrapped all the most potentially expensive logging calls in a conditional to only do work when actually requested.
Commented some logging calls that could potentially write out many megabytes of type dumps.
This commit is contained in:
@@ -369,7 +369,8 @@ void TypeInfoTypedefDeclaration::llvmDefine()
|
||||
DtoForceConstInitDsymbol(base);
|
||||
|
||||
const LLStructType* stype = isaStruct(base->type->ir.type->get());
|
||||
Logger::cout() << "got stype: " << *stype << '\n';
|
||||
if (Logger::enabled())
|
||||
Logger::cout() << "got stype: " << *stype << '\n';
|
||||
|
||||
// vtbl
|
||||
std::vector<LLConstant*> sinits;
|
||||
|
||||
Reference in New Issue
Block a user