Removed some dead code.

Fixed assertion filenames for imported template instances. Fixes #152 .
This commit is contained in:
Tomas Lindquist Olsen
2009-02-04 02:10:23 +01:00
parent 6cd6ddd237
commit 7d2a0a84a7
6 changed files with 13 additions and 13 deletions

View File

@@ -99,8 +99,9 @@ void Module::genobjfile(int multiobj)
ir.module = new llvm::Module(mname);
// module ir state
// might already exist via import, just overwrite...
//FIXME: is there a good reason for overwriting?
// might already exist via import, just overwrite since
// the global created for the filename must belong to the right llvm module
// FIXME: but shouldn't this always get reset between modules? like other IrSymbols
this->ir.irModule = new IrModule(this, srcfile->toChars());
// set target stuff