diff options
author | Bill Wendling <isanbard@gmail.com> | 2009-04-09 23:51:31 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2009-04-09 23:51:31 +0000 |
commit | f34be827ac3bb257939e31575fcfc9ef27b94306 (patch) | |
tree | 05d52f8774cc4fbc61ee547bf93b003dc4f5abcb /lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | |
parent | 923838533a005154c3a30271aa3186a633102a9c (diff) |
StringMap<DIE*>::iterator::first() returns a pointer to the first character of
the key. This will cause it to create a new std::string, which isn't
wanted. Instead, pass back the "const char*". Modify the EmitString() method to
take a "const char*".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68741 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/LegalizeDAG.cpp')
0 files changed, 0 insertions, 0 deletions