diff gen/functions.cpp @ 947:9a10fa839dc5

Switch some getModule to getCompilationModule to make sure templates are emitted in the right module.
author Christian Kamm <kamm incasoftware de>
date Sun, 08 Feb 2009 18:51:32 +0100
parents 1714836f2c0b
children 89729c76b8ff
line wrap: on
line diff
--- a/gen/functions.cpp	Sun Feb 08 16:50:22 2009 +0100
+++ b/gen/functions.cpp	Sun Feb 08 18:51:32 2009 +0100
@@ -646,7 +646,6 @@
 
     // debug info
     if (global.params.symdebug) {
-        Module* mo = fd->getModule();
         fd->ir.irFunc->diSubprogram = DtoDwarfSubProgram(fd);
     }