rename DenseMap to IndexedMap.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33749 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2007-02-01 05:32:05 +00:00
parent e3f71b4198
commit 94c002a190
9 changed files with 15 additions and 92 deletions
+2 -2
View File
@@ -26,7 +26,7 @@
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/Compiler.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/IndexedMap.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/Statistic.h"
#include <algorithm>
@@ -55,7 +55,7 @@ namespace {
// Virt2PhysRegMap - This map contains entries for each virtual register
// that is currently available in a physical register.
DenseMap<unsigned, VirtReg2IndexFunctor> Virt2PhysRegMap;
IndexedMap<unsigned, VirtReg2IndexFunctor> Virt2PhysRegMap;
unsigned &getVirt2PhysRegMapSlot(unsigned VirtReg) {
return Virt2PhysRegMap[VirtReg];