[llvm-commits] [llvm] r101584 - /llvm/trunk/include/llvm/Analysis/InlineCost.h

Dale Johannesen dalej at apple.com
Fri Apr 16 17:08:21 PDT 2010


Author: johannes
Date: Fri Apr 16 19:08:21 2010
New Revision: 101584

URL: http://llvm.org/viewvc/llvm-project?rev=101584&view=rev
Log:
Reapply 101503+101520.  These are "obviously correct" [Chris]
and don't cause any problems on Darwin.


Modified:
    llvm/trunk/include/llvm/Analysis/InlineCost.h

Modified: llvm/trunk/include/llvm/Analysis/InlineCost.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/InlineCost.h?rev=101584&r1=101583&r2=101584&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/InlineCost.h (original)
+++ llvm/trunk/include/llvm/Analysis/InlineCost.h Fri Apr 16 19:08:21 2010
@@ -16,9 +16,9 @@
 
 #include <cassert>
 #include <climits>
-#include <map>
 #include <vector>
 #include "llvm/ADT/DenseMap.h"
+#include "llvm/ADT/ValueMap.h"
 
 namespace llvm {
 
@@ -165,7 +165,7 @@
       void analyzeFunction(Function *F);
     };
 
-    std::map<const Function *, FunctionInfo> CachedFunctionInfo;
+    ValueMap<const Function *, FunctionInfo> CachedFunctionInfo;
 
   public:
 





More information about the llvm-commits mailing list