From 70f5a921b7c8a8b813559c66b0734e74d0ed10c6 Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Tue, 27 May 2008 08:43:22 +0000 Subject: [PATCH] The cache is working again; re-enable it. llvm-svn: 51587 --- clang/lib/CodeGen/CodeGenModule.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index f14a0858d303..525c13fc96bb 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/lib/CodeGen/CodeGenModule.cpp @@ -187,10 +187,7 @@ llvm::Constant *CodeGenModule::GetAddrOfFunctionDecl(const FunctionDecl *D, bool isDefinition) { // See if it is already in the map. If so, just return it. llvm::Constant *&Entry = GlobalDeclMap[D]; -#if 0 - // FIXME: The cache is currently broken! if (Entry) return Entry; -#endif const llvm::Type *Ty = getTypes().ConvertType(D->getType());