diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2008-05-27 08:43:22 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2008-05-27 08:43:22 +0000 |
commit | a1d642db810e317da011569309ee0693d51b7dff (patch) | |
tree | dc9e5aeb77f934a279bc8ad9869c3971c1ca59f3 /lib/CodeGen/CodeGenModule.cpp | |
parent | 8ef1f26775cae95d202d8d90d92d39add685af3e (diff) |
The cache is working again; re-enable it.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51587 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.cpp')
-rw-r--r-- | lib/CodeGen/CodeGenModule.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/CodeGen/CodeGenModule.cpp b/lib/CodeGen/CodeGenModule.cpp index f14a0858d3..525c13fc96 100644 --- a/lib/CodeGen/CodeGenModule.cpp +++ b/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()); |