changeset 880:2dfd05525e2e

Fixed bad return types in typinf.cpp
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Fri, 09 Jan 2009 20:08:06 +0100
parents c57e71c5586f
children 1c2faa8325d1
files gen/typinf.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gen/typinf.cpp	Fri Jan 09 19:36:56 2009 +0100
+++ b/gen/typinf.cpp	Fri Jan 09 20:08:06 2009 +0100
@@ -522,7 +522,7 @@
 
 /* ========================================================================= */
 
-static LLConstant* LLVM_D_Declare_TypeInfoBase(TypeInfoDeclaration* tid, ClassDeclaration* cd)
+static void LLVM_D_Declare_TypeInfoBase(TypeInfoDeclaration* tid, ClassDeclaration* cd)
 {
     ClassDeclaration* base = cd;
     DtoResolveClass(base);
@@ -531,7 +531,7 @@
     tid->ir.irGlobal->value = new llvm::GlobalVariable(tid->ir.irGlobal->type.get(), true,llvm::GlobalValue::WeakLinkage,NULL,tid->toChars(),gIR->module);
 }
 
-static LLConstant* LLVM_D_Define_TypeInfoBase(Type* basetype, TypeInfoDeclaration* tid, ClassDeclaration* cd)
+static void LLVM_D_Define_TypeInfoBase(Type* basetype, TypeInfoDeclaration* tid, ClassDeclaration* cd)
 {
     ClassDeclaration* base = cd;
     DtoForceConstInitDsymbol(base);