diff options
Diffstat (limited to 'lib/CodeGen/LiveRangeCalc.h')
| -rw-r--r-- | lib/CodeGen/LiveRangeCalc.h | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/CodeGen/LiveRangeCalc.h b/lib/CodeGen/LiveRangeCalc.h index 1a7598f8044a..d41b782d9bdf 100644 --- a/lib/CodeGen/LiveRangeCalc.h +++ b/lib/CodeGen/LiveRangeCalc.h @@ -24,6 +24,7 @@  #include "llvm/ADT/ArrayRef.h"  #include "llvm/ADT/BitVector.h" +#include "llvm/ADT/DenseMap.h"  #include "llvm/ADT/IndexedMap.h"  #include "llvm/CodeGen/LiveInterval.h" @@ -65,7 +66,8 @@ class LiveRangeCalc {    /// registers do not overlap), but the defined/undefined information must    /// be kept separate for each individual range.    /// By convention, EntryInfoMap[&LR] = { Defined, Undefined }. -  std::map<LiveRange*,std::pair<BitVector,BitVector>> EntryInfoMap; +  typedef DenseMap<LiveRange*,std::pair<BitVector,BitVector>> EntryInfoMap; +  EntryInfoMap EntryInfos;    /// Map each basic block where a live range is live out to the live-out value    /// and its defining block.  | 
