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 /lib/CodeGen/MachineModuleInfo.cpp | |
parent | b997a4e4f92a1b9b4be917a32bc21cb52a63c399 (diff) | |
download | external_llvm-e63647899d5a8a702a3e6de6998e6a1789b1df54.zip external_llvm-e63647899d5a8a702a3e6de6998e6a1789b1df54.tar.gz external_llvm-e63647899d5a8a702a3e6de6998e6a1789b1df54.tar.bz2 |
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 'lib/CodeGen/MachineModuleInfo.cpp')
-rw-r--r-- | lib/CodeGen/MachineModuleInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/MachineModuleInfo.cpp b/lib/CodeGen/MachineModuleInfo.cpp index 3d3a995..149451b 100644 --- a/lib/CodeGen/MachineModuleInfo.cpp +++ b/lib/CodeGen/MachineModuleInfo.cpp @@ -1321,7 +1321,7 @@ const StructType *DISerializer::getTagType(DebugInfoDesc *DD) { /// Constant *DISerializer::getString(const std::string &String) { // Check string cache for previous edition. - Constant *&Slot = StringCache[String.c_str()]; + Constant *&Slot = StringCache[String]; // Return Constant if previously defined. if (Slot) return Slot; |