comparison 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
comparison
equal deleted inserted replaced
682:518b8cc84369 683:b411c41a9716
5 5
6 struct Module; 6 struct Module;
7 7
8 struct IrModule : IrBase 8 struct IrModule : IrBase
9 { 9 {
10 IrModule(Module* module); 10 IrModule(Module* module, const char* srcfilename);
11 virtual ~IrModule(); 11 virtual ~IrModule();
12 12
13 Module* M; 13 Module* M;
14 14
15 LLGlobalVariable* dwarfCompileUnit; 15 LLGlobalVariable* dwarfCompileUnit;
16 LLGlobalVariable* fileName;
16 }; 17 };
17 18
18 #endif 19 #endif