diff --git a/gen/typeinf.h b/gen/typeinf.h index 503b58ca..7e688886 100644 --- a/gen/typeinf.h +++ b/gen/typeinf.h @@ -4,6 +4,5 @@ void DtoResolveTypeInfo(TypeInfoDeclaration* tid); void DtoDeclareTypeInfo(TypeInfoDeclaration* tid); void DtoConstInitTypeInfo(TypeInfoDeclaration* tid); -void DtoDefineTypeInfo(TypeInfoDeclaration* tid); #endif diff --git a/gen/typinf.cpp b/gen/typinf.cpp index 8db4d85e..66d5c402 100644 --- a/gen/typinf.cpp +++ b/gen/typinf.cpp @@ -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()