summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/FastISelEmitter.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-11-17 22:16:55 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-11-17 22:16:55 +0000
commit8922a17af3fa0da165c0f49273c6fb7228163edd (patch)
treeba7d1b218af6f4b296b7386217969445d3b2252b /llvm/utils/TableGen/FastISelEmitter.cpp
parent6edef20405d2f6ac190d796b215d6d288e8dc125 (diff)
downloadbcm5719-llvm-8922a17af3fa0da165c0f49273c6fb7228163edd.tar.gz
bcm5719-llvm-8922a17af3fa0da165c0f49273c6fb7228163edd.zip
Improve memory ownership/management in TableGen by unique_ptrifying TreePattern's Tree member.
The next step is to actually use unique_ptr in TreePatternNode's Children vector. That will be more intrusive, and may not work, depending on exactly how these things are handled (I have a bad suspicion things are shared more than they should be, making this more DAG than tree - but if it's really a tree, unique_ptr should suffice) llvm-svn: 222183
Diffstat (limited to 'llvm/utils/TableGen/FastISelEmitter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud