Removed unused and broken template instantiation origin detection.

Having something like this would be useful in determining
whether to define a given template symbol during codegen, but
the frontend sometimes produces TemplateInstances in a scope
where sc->tinst has not been semantic'd, thus breaking the
chaining mechanism.
This commit is contained in:
David Nadlinger
2013-06-16 18:21:36 +02:00
parent 6a1fef81f4
commit 480d05c76e
2 changed files with 5 additions and 19 deletions
-1
View File
@@ -354,7 +354,6 @@ struct TemplateInstance : ScopeDsymbol
#if IN_LLVM
bool ignore; // true if the instance must be ignored when codegen'ing
Module* tmodule; // module from outermost enclosing template instantiation
Module* emittedInModule; // which module this template instance has been emitted in
void codegen(Ir*);