summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGDebugInfo.h
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2013-04-19 04:31:49 +0000
committerLang Hames <lhames@gmail.com>2013-04-19 04:31:49 +0000
commit77bf0afcc8040a419fc39a64df8ee64fd737e63c (patch)
tree7ff453b26a2d6ad0410f9d94266e02b713f439c1 /clang/lib/CodeGen/CGDebugInfo.h
parente28fab22c467ea75b0d1123a242fe4757b28efab (diff)
downloadbcm5719-llvm-77bf0afcc8040a419fc39a64df8ee64fd737e63c.tar.gz
bcm5719-llvm-77bf0afcc8040a419fc39a64df8ee64fd737e63c.zip
Add support for index resources (for a SlotIndex) to be relinquished.
When the SlotIndexes pass was introduced it was intended to support insertion of code during register allocation. Removal of code was a minor consideration (and raised the question of what to do about dangling SlotIndex objects pointing to the erased index), so I opted to keep all indexes around indefinitely and simply null out those that weren't being used. Nowadays people are moving more code around (e.g. via HandleMove), which means more zombie indexes. I want to start killing off indexes when we're done with them to reclaim the resources they use up. llvm-svn: 179834
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud