Mercurial > projects > ldc
diff ir/irmodule.h @ 683:b411c41a9716
Only allocate the module file name once. Fixes #90.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sun, 12 Oct 2008 10:35:16 +0200 |
parents | eef8ac26c66c |
children | 1714836f2c0b |
line wrap: on
line diff
--- a/ir/irmodule.h Sat Oct 11 22:44:17 2008 +0200 +++ b/ir/irmodule.h Sun Oct 12 10:35:16 2008 +0200 @@ -7,12 +7,13 @@ struct IrModule : IrBase { - IrModule(Module* module); + IrModule(Module* module, const char* srcfilename); virtual ~IrModule(); Module* M; LLGlobalVariable* dwarfCompileUnit; + LLGlobalVariable* fileName; }; #endif