Switch some getModule to getCompilationModule to make sure templates are

emitted in the right module.
This commit is contained in:
Christian Kamm
2009-02-08 18:51:32 +01:00
parent 7c93355672
commit 789eefd943
3 changed files with 4 additions and 9 deletions

View File

@@ -646,7 +646,6 @@ void DtoDefineFunction(FuncDeclaration* fd)
// debug info
if (global.params.symdebug) {
Module* mo = fd->getModule();
fd->ir.irFunc->diSubprogram = DtoDwarfSubProgram(fd);
}