The cache is working again; re-enable it.

llvm-svn: 51587
This commit is contained in:
Eli Friedman 2008-05-27 08:43:22 +00:00
parent a904087b0d
commit 70f5a921b7
1 changed files with 0 additions and 3 deletions

View File

@ -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());