summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2008-05-27 08:43:22 +0000
committerEli Friedman <eli.friedman@gmail.com>2008-05-27 08:43:22 +0000
commit70f5a921b7c8a8b813559c66b0734e74d0ed10c6 (patch)
treefcc78a0ee0953a7ce6c2a259ea072b41cad46be3 /clang/lib/CodeGen/CodeGenModule.cpp
parenta904087b0dca5b52cd4a5bd618827d285f569e2f (diff)
downloadbcm5719-llvm-70f5a921b7c8a8b813559c66b0734e74d0ed10c6.tar.gz
bcm5719-llvm-70f5a921b7c8a8b813559c66b0734e74d0ed10c6.zip
The cache is working again; re-enable it.
llvm-svn: 51587
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.cpp3
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());
OpenPOWER on IntegriCloud