mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-30 19:43:13 +01:00
Switch some getModule to getCompilationModule to make sure templates are
emitted in the right module.
This commit is contained in:
@@ -646,7 +646,6 @@ void DtoDefineFunction(FuncDeclaration* fd)
|
||||
|
||||
// debug info
|
||||
if (global.params.symdebug) {
|
||||
Module* mo = fd->getModule();
|
||||
fd->ir.irFunc->diSubprogram = DtoDwarfSubProgram(fd);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user