[llvm-commits] [llvm] r54761 - /llvm/trunk/include/llvm/CodeGen/LiveIntervalAnalysis.h

Owen Anderson resistor at mac.com
Wed Aug 13 14:24:25 PDT 2008


Author: resistor
Date: Wed Aug 13 16:24:24 2008
New Revision: 54761

URL: http://llvm.org/viewvc/llvm-project?rev=54761&view=rev
Log:
Switch this from std::map to DenseMap.

Modified:
    llvm/trunk/include/llvm/CodeGen/LiveIntervalAnalysis.h

Modified: llvm/trunk/include/llvm/CodeGen/LiveIntervalAnalysis.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/LiveIntervalAnalysis.h?rev=54761&r1=54760&r2=54761&view=diff

==============================================================================
--- llvm/trunk/include/llvm/CodeGen/LiveIntervalAnalysis.h (original)
+++ llvm/trunk/include/llvm/CodeGen/LiveIntervalAnalysis.h Wed Aug 13 16:24:24 2008
@@ -80,7 +80,7 @@
     /// FunctionSize - The number of instructions present in the function
     uint64_t FunctionSize;
 
-    typedef std::map<MachineInstr*, unsigned> Mi2IndexMap;
+    typedef DenseMap<MachineInstr*, unsigned> Mi2IndexMap;
     Mi2IndexMap mi2iMap_;
 
     typedef std::vector<MachineInstr*> Index2MiMap;





More information about the llvm-commits mailing list