From 0816e84138c6e2027318f040a7ecdff8502c5e50 Mon Sep 17 00:00:00 2001 From: Tomas Lindquist Olsen Date: Fri, 9 Jan 2009 20:08:06 +0100 Subject: [PATCH] Fixed bad return types in typinf.cpp --- gen/typinf.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gen/typinf.cpp b/gen/typinf.cpp index de5d578b..bc4ecc96 100644 --- a/gen/typinf.cpp +++ b/gen/typinf.cpp @@ -522,7 +522,7 @@ void TypeInfoEnumDeclaration::toDt(dt_t **pdt) /* ========================================================================= */ -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 @@ static LLConstant* LLVM_D_Declare_TypeInfoBase(TypeInfoDeclaration* tid, ClassDe 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);