diff options
| author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-08-02 20:54:50 +0000 |
|---|---|---|
| committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-08-02 20:54:50 +0000 |
| commit | b0dbe526fccf3e0c7edcb655ea66e9378cc5b4a6 (patch) | |
| tree | d1ac2e5fc9f760911b02240d71ab87b8665a49a9 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | af9bb0f37ea606491f09c9ab05064bf7e1bda0f3 (diff) | |
| download | llvm-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
