llvm-mirror/include
Bill Wendling 16712e549c The MDString class stored a StringRef to the string which was already in a
StringMap. This was redundant and unnecessarily bloated the MDString class.

Because the MDString class is a "Value" and will never have a "name", and
because the Name field in the Value class is a pointer to a StringMap entry, we
repurpose the Name field for an MDString. It stores the StringMap entry in the
Name field, and uses the normal methods to get the string (name) back.

PR12474

llvm-svn: 154429
2012-04-10 20:12:16 +00:00
..
llvm The MDString class stored a StringRef to the string which was already in a 2012-04-10 20:12:16 +00:00
llvm-c s/lto_codegen_whole_program_optimization/lto_codegen_set_whole_program_optimization/ 2012-04-09 08:32:21 +00:00