diff options
author | Bill Wendling <isanbard@gmail.com> | 2008-07-07 20:59:31 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2008-07-07 20:59:31 +0000 |
commit | e63647899d5a8a702a3e6de6998e6a1789b1df54 (patch) | |
tree | c87be5ea8f6d9fad93caba863baf4a5c5f79ae52 /include/llvm/CodeGen/MachineModuleInfo.h | |
parent | b997a4e4f92a1b9b4be917a32bc21cb52a63c399 (diff) | |
download | external_llvm-e63647899d5a8a702a3e6de6998e6a1789b1df54.tar.gz external_llvm-e63647899d5a8a702a3e6de6998e6a1789b1df54.tar.bz2 external_llvm-e63647899d5a8a702a3e6de6998e6a1789b1df54.zip |
Use StringMap for greater justice!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53202 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineModuleInfo.h')
-rw-r--r-- | include/llvm/CodeGen/MachineModuleInfo.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/MachineModuleInfo.h b/include/llvm/CodeGen/MachineModuleInfo.h index a9567d2e25..9d98776f54 100644 --- a/include/llvm/CodeGen/MachineModuleInfo.h +++ b/include/llvm/CodeGen/MachineModuleInfo.h @@ -37,6 +37,7 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/UniqueVector.h" #include "llvm/ADT/SmallPtrSet.h" +#include "llvm/ADT/StringMap.h" #include "llvm/GlobalValue.h" #include "llvm/Pass.h" @@ -777,7 +778,7 @@ class DISerializer { DenseMap<DebugInfoDesc *, GlobalVariable *> DescGlobals; // Previously defined strings. - DenseMap<const char *, Constant*> StringCache; + StringMap<Constant*> StringCache; public: DISerializer() : M(NULL), StrPtrTy(NULL), EmptyStructPtrTy(NULL), TagTypes(), |