# HG changeset patch # User Frits van Bommel # Date 1241258330 -7200 # Node ID 450897f5aae923fc8eb7d684a7e9950604d5f0a8 # Parent 680b4df0ea362dec0cb0cf9507eb6328e3e587d6 Remove some dead code. diff -r 680b4df0ea36 -r 450897f5aae9 gen/typeinf.h --- a/gen/typeinf.h Thu Apr 30 23:16:21 2009 +0200 +++ b/gen/typeinf.h Sat May 02 11:58:50 2009 +0200 @@ -4,6 +4,5 @@ void DtoResolveTypeInfo(TypeInfoDeclaration* tid); void DtoDeclareTypeInfo(TypeInfoDeclaration* tid); void DtoConstInitTypeInfo(TypeInfoDeclaration* tid); -void DtoDefineTypeInfo(TypeInfoDeclaration* tid); #endif diff -r 680b4df0ea36 -r 450897f5aae9 gen/typinf.cpp --- a/gen/typinf.cpp Thu Apr 30 23:16:21 2009 +0200 +++ b/gen/typinf.cpp Sat May 02 11:58:50 2009 +0200 @@ -332,17 +332,6 @@ 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()