aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-08-02 20:54:50 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-08-02 20:54:50 +0000
commitb0dbe526fccf3e0c7edcb655ea66e9378cc5b4a6 (patch)
treed1ac2e5fc9f760911b02240d71ab87b8665a49a9 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentaf9bb0f37ea606491f09c9ab05064bf7e1bda0f3 (diff)
downloadllvm-b0dbe526fccf3e0c7edcb655ea66e9378cc5b4a6.zip
llvm-b0dbe526fccf3e0c7edcb655ea66e9378cc5b4a6.tar.gz
llvm-b0dbe526fccf3e0c7edcb655ea66e9378cc5b4a6.tar.bz2
AsmPrinter: Stop inheriting from DIE
Change `DIELoc` and `DIEBlock` to stop inheriting from `DIE`, instead inheriting from `DIEValueList` to share the value storage API. This awkward bit of code-sharing was also fairly confusing: neither `DIELoc` nor `DIEBlock` represents a `DIE`, so why would they inherit from it? Aside from the API cleanup, this should improve debug info memory usage in the backend, since it shaves five pointers off of every `DIELoc` and `DIEBlock`. I haven't bothered to measure the savings, though. llvm-svn: 243858
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions