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 | 70f5a921b7c8a8b813559c66b0734e74d0ed10c6 (patch) | |
| tree | fcc78a0ee0953a7ce6c2a259ea072b41cad46be3 | |
| parent | a904087b0dca5b52cd4a5bd618827d285f569e2f (diff) | |
| download | bcm5719-llvm-70f5a921b7c8a8b813559c66b0734e74d0ed10c6.tar.gz bcm5719-llvm-70f5a921b7c8a8b813559c66b0734e74d0ed10c6.zip | |
The cache is working again; re-enable it.
llvm-svn: 51587
| -rw-r--r-- | clang/lib/CodeGen/CodeGenModule.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index f14a0858d30..525c13fc96b 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()); |

