Skip to content
Browse files

Remove some dead code.

  • Loading branch information...
1 parent 9812a8c commit 6c91185a77b206dac7948bfb2ba06a181afa6535 Frits van Bommel committed May 2, 2009
Showing with 0 additions and 12 deletions.
  1. +0 −1 gen/typeinf.h
  2. +0 −11 gen/typinf.cpp
View
1 gen/typeinf.h
@@ -4,6 +4,5 @@
void DtoResolveTypeInfo(TypeInfoDeclaration* tid);
void DtoDeclareTypeInfo(TypeInfoDeclaration* tid);
void DtoConstInitTypeInfo(TypeInfoDeclaration* tid);
-void DtoDefineTypeInfo(TypeInfoDeclaration* tid);
#endif
View
11 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()

0 comments on commit 6c91185

Please sign in to comment.
Something went wrong with that request. Please try again.