mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-09-20 04:10:18 +02:00
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:
@@ -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*);
|
||||
|
||||
Reference in New Issue
Block a user