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 | 1214860a787c43da421044b399b4c220e163d9b1 (patch) | |
tree | 43fb35b8cd9761f4cee7c86a9d2c6dfe792e23f6 /llvm/lib/CodeGen/MachineModuleInfo.cpp | |
parent | 91697639552c011bb53a9437f567d94ac0f9d197 (diff) | |
download | bcm5719-llvm-1214860a787c43da421044b399b4c220e163d9b1.tar.gz bcm5719-llvm-1214860a787c43da421044b399b4c220e163d9b1.zip |
Use StringMap for greater justice!
llvm-svn: 53202
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineModuleInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineModuleInfo.cpp b/llvm/lib/CodeGen/MachineModuleInfo.cpp index 3d3a9957bb0..149451b8301 100644 --- a/llvm/lib/CodeGen/MachineModuleInfo.cpp +++ b/llvm/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; |