changeset 1283:450897f5aae9

Remove some dead code.
author Frits van Bommel <fvbommel wxs.nl>
date Sat, 02 May 2009 11:58:50 +0200
parents 680b4df0ea36
children 5851c18e4c6d
files gen/typeinf.h gen/typinf.cpp
diffstat 2 files changed, 0 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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()