mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-13 19:33:13 +01:00
Remove some dead code.
This commit is contained in:
@@ -4,6 +4,5 @@
|
||||
void DtoResolveTypeInfo(TypeInfoDeclaration* tid);
|
||||
void DtoDeclareTypeInfo(TypeInfoDeclaration* tid);
|
||||
void DtoConstInitTypeInfo(TypeInfoDeclaration* tid);
|
||||
void DtoDefineTypeInfo(TypeInfoDeclaration* tid);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -332,17 +332,6 @@ void DtoConstInitTypeInfo(TypeInfoDeclaration* tid)
|
||||
tid->llvmDefine();
|
||||
}
|
||||
|
||||
void DtoDefineTypeInfo(TypeInfoDeclaration* tid)
|
||||
{
|
||||
if (tid->ir.defined) return;
|
||||
tid->ir.defined = true;
|
||||
|
||||
Logger::println("DtoDefineTypeInfo(%s)", tid->toChars());
|
||||
LOG_SCOPE;
|
||||
|
||||
tid->llvmDefine();
|
||||
}
|
||||
|
||||
/* ========================================================================= */
|
||||
|
||||
void TypeInfoDeclaration::llvmDefine()
|
||||
|
||||
Reference in New Issue
Block a user