Fix #318 by making a list of all seen template instances in a module for

singleobj compilation and then making sure they get emitted in their entirety.
This commit is contained in:
Christian Kamm
2009-06-06 09:47:32 +02:00
parent c6946d4072
commit b4f8bd6e52
4 changed files with 26 additions and 1 deletions

View File

@@ -3106,7 +3106,7 @@ TemplateInstance::TemplateInstance(Loc loc, TemplateDeclaration *td, Objects *ti
#if IN_LLVM
// LDC
this->tinst = NULL;
this->emittedInModule = NULL;
this->tmodule = NULL;
#endif