diff options
Diffstat (limited to 'include/llvm/Analysis/LoopDepth.h')
-rw-r--r-- | include/llvm/Analysis/LoopDepth.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Analysis/LoopDepth.h b/include/llvm/Analysis/LoopDepth.h index 76a590c31f..89068d6bb7 100644 --- a/include/llvm/Analysis/LoopDepth.h +++ b/include/llvm/Analysis/LoopDepth.h @@ -14,14 +14,14 @@ class Method; namespace cfg {class Interval; } class LoopDepthCalculator { - map<const BasicBlock*, unsigned> LoopDepth; + std::map<const BasicBlock*, unsigned> LoopDepth; inline void AddBB(const BasicBlock *BB); // Increment count for this block inline void ProcessInterval(cfg::Interval *I); public: LoopDepthCalculator(Method *M); inline unsigned getLoopDepth(const BasicBlock *BB) const { - map<const BasicBlock*, unsigned>::const_iterator I = LoopDepth.find(BB); + std::map<const BasicBlock*,unsigned>::const_iterator I = LoopDepth.find(BB); return I != LoopDepth.end() ? I->second : 0; } }; |