CodeGen: Let the BumpPtrAllocator free the elements of indexList
authorJustin Bogner <mail@justinbogner.com>
Sat, 5 Dec 2015 00:39:14 +0000 (00:39 +0000)
committerJustin Bogner <mail@justinbogner.com>
Sat, 5 Dec 2015 00:39:14 +0000 (00:39 +0000)
commit83eafdfffcd7fc709e4738213c3355d9b2d933b9
tree272bd71a31541b7454a01f233badb271ffc9888b
parenta9143d4647d9eca6d9ed32e76a56368ed4935969
CodeGen: Let the BumpPtrAllocator free the elements of indexList

The indexList's nodes are all allocated on a BumpPtrAllocator, so it's
more efficient to let them be freed when it goes away, rather than
deleting them directly. This is a follow up to r254794.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254808 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/SlotIndexes.h