IR: Move MDStrings to a BumpPtrAllocator
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Wed, 6 Apr 2016 06:41:54 +0000 (06:41 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Wed, 6 Apr 2016 06:41:54 +0000 (06:41 +0000)
commit3e0430e0a81980e179f4efe79ea2e00d5f929317
tree218c056a273f0686aea56cf921340225b5613bae
parentbdfc984679b81e021634336f5f8f5dfca5b294a8
IR: Move MDStrings to a BumpPtrAllocator

We never delete any MDString until the context is destroyed.  Might as
well throw them onto a BumpPtrAllocator.

llvm-svn: 265520
llvm/lib/IR/LLVMContextImpl.h