diff --git a/dmd2/template.c b/dmd2/template.c index 2954b242..c1f999e4 100644 --- a/dmd2/template.c +++ b/dmd2/template.c @@ -3660,6 +3660,7 @@ TemplateInstance::TemplateInstance(Loc loc, TemplateDeclaration *td, Objects *ti #if IN_LLVM // LDC this->tinst = NULL; + this->emittedInModule = NULL; this->tmodule = NULL; #endif