summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/edit-swig-python-wrapper-file.py
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-04-10 20:12:16 +0000
committerBill Wendling <isanbard@gmail.com>2012-04-10 20:12:16 +0000
commitc4c568b2d9c8b1e636d8374007b881976ce5697a (patch)
treeb43c5afc04c02acb8587c5d66221fcb8d90feb40 /lldb/scripts/Python/edit-swig-python-wrapper-file.py
parent0598962a7ba56554ae1eda33990682b2f7781034 (diff)
downloadbcm5719-llvm-c4c568b2d9c8b1e636d8374007b881976ce5697a.tar.gz
bcm5719-llvm-c4c568b2d9c8b1e636d8374007b881976ce5697a.zip
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
Diffstat (limited to 'lldb/scripts/Python/edit-swig-python-wrapper-file.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud