[cfe-commits] r51587 - /cfe/trunk/lib/CodeGen/CodeGenModule.cpp

Eli Friedman eli.friedman at gmail.com
Tue May 27 01:43:22 PDT 2008


Author: efriedma
Date: Tue May 27 03:43:22 2008
New Revision: 51587

URL: http://llvm.org/viewvc/llvm-project?rev=51587&view=rev
Log:
The cache is working again; re-enable it.


Modified:
    cfe/trunk/lib/CodeGen/CodeGenModule.cpp

Modified: cfe/trunk/lib/CodeGen/CodeGenModule.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CodeGenModule.cpp?rev=51587&r1=51586&r2=51587&view=diff

==============================================================================
--- cfe/trunk/lib/CodeGen/CodeGenModule.cpp (original)
+++ cfe/trunk/lib/CodeGen/CodeGenModule.cpp Tue May 27 03:43:22 2008
@@ -187,10 +187,7 @@
                                                      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());
   





More information about the cfe-commits mailing list