Mercurial > projects > ldc
view ir/irmodule.cpp @ 554:1b702422451c
Always call finalizer for stack classes. Checking for the number of
destructors of the class type is not sufficient: we may be holding a derived
class with a destructor.
Fixes: run/auto_07
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Thu, 28 Aug 2008 20:17:21 +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() { }