mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-15 04:13:14 +01:00
Ensure all logging of llvm values/types is only called when -vv is passed
This commit is contained in:
@@ -247,7 +247,8 @@ void DtoResolveClass(ClassDeclaration* cd)
|
||||
llvm::cast<llvm::OpaqueType>(irstruct->vtblTy.get())->refineAbstractTypeTo(LLArrayType::get(getVoidPtrType(), cd->vtbl.dim));
|
||||
|
||||
// log
|
||||
Logger::cout() << "final class type: " << *ts->ir.type->get() << '\n';
|
||||
if (Logger::enabled())
|
||||
Logger::cout() << "final class type: " << *ts->ir.type->get() << '\n';
|
||||
|
||||
// pop state
|
||||
gIR->structs.pop_back();
|
||||
|
||||
Reference in New Issue
Block a user