Mercurial > projects > ldc
view ir/irmodule.cpp @ 622:26fce59fe80a
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.
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Wed, 01 Oct 2008 18:32:31 +0200 |
parents | e3355ce5444b |
children | b411c41a9716 |
line wrap: on
line source
#include "gen/llvm.h" #include "ir/irmodule.h" IrModule::IrModule(Module* module) { M = module; dwarfCompileUnit = NULL; } IrModule::~IrModule() { }